Trait winsafe::prelude::taskschd_IActionCollection
source · 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.
Object Safety§
This trait is not object safe.