pub trait taskschd_IActionCollection: oleaut_IDispatch {
// Provided methods
fn Clear(&self) -> HrResult<()> { ... }
fn Create(&self, action_type: TASK_ACTION_TYPE) -> HrResult<IAction> { ... }
fn get_Context(&self) -> HrResult<String> { ... }
fn get_Count(&self) -> HrResult<i32> { ... }
fn get_Item(&self, index: i32) -> HrResult<IAction> { ... }
fn get_XmlText(&self) -> HrResult<String> { ... }
fn put_Context(&self, context: &str) -> HrResult<()> { ... }
fn put_XmlText(&self, text: &str) -> HrResult<()> { ... }
fn Remove(&self, index: i32) -> HrResult<()> { ... }
}
Available on crate features
kernel
and taskschd
only.Expand description
This trait is enabled with the taskschd
feature, and provides methods for
IActionCollection
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
Sourcefn Clear(&self) -> HrResult<()>
fn Clear(&self) -> HrResult<()>
IActionCollection::Clear
method.
Sourcefn Create(&self, action_type: TASK_ACTION_TYPE) -> HrResult<IAction>
fn Create(&self, action_type: TASK_ACTION_TYPE) -> HrResult<IAction>
IActionCollection::Create
method.
Sourcefn get_Context(&self) -> HrResult<String>
fn get_Context(&self) -> HrResult<String>
IActionCollection::get_Context
method.
Sourcefn get_Count(&self) -> HrResult<i32>
fn get_Count(&self) -> HrResult<i32>
IActionCollection::get_Count
method.
Sourcefn get_XmlText(&self) -> HrResult<String>
fn get_XmlText(&self) -> HrResult<String>
IActionCollection::get_XmlText
method.
Sourcefn put_Context(&self, context: &str) -> HrResult<()>
fn put_Context(&self, context: &str) -> HrResult<()>
IActionCollection::put_Context
method.
Sourcefn put_XmlText(&self, text: &str) -> HrResult<()>
fn put_XmlText(&self, text: &str) -> HrResult<()>
IActionCollection::put_XmlText
method.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.