Trait windows::Win32::Data::Xml::MsXml::IMXAttributes_Impl

pub trait IMXAttributes_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn addAttribute(
        &self,
        struri: &BSTR,
        strlocalname: &BSTR,
        strqname: &BSTR,
        strtype: &BSTR,
        strvalue: &BSTR
    ) -> Result<()>;
    fn addAttributeFromIndex(
        &self,
        varatts: &VARIANT,
        nindex: i32
    ) -> Result<()>;
    fn clear(&self) -> Result<()>;
    fn removeAttribute(&self, nindex: i32) -> Result<()>;
    fn setAttribute(
        &self,
        nindex: i32,
        struri: &BSTR,
        strlocalname: &BSTR,
        strqname: &BSTR,
        strtype: &BSTR,
        strvalue: &BSTR
    ) -> Result<()>;
    fn setAttributes(&self, varatts: &VARIANT) -> Result<()>;
    fn setLocalName(&self, nindex: i32, strlocalname: &BSTR) -> Result<()>;
    fn setQName(&self, nindex: i32, strqname: &BSTR) -> Result<()>;
    fn setType(&self, nindex: i32, strtype: &BSTR) -> Result<()>;
    fn setURI(&self, nindex: i32, struri: &BSTR) -> Result<()>;
    fn setValue(&self, nindex: i32, strvalue: &BSTR) -> Result<()>;
}

Required Methods§

fn addAttribute( &self, struri: &BSTR, strlocalname: &BSTR, strqname: &BSTR, strtype: &BSTR, strvalue: &BSTR ) -> Result<()>

fn addAttributeFromIndex(&self, varatts: &VARIANT, nindex: i32) -> Result<()>

fn clear(&self) -> Result<()>

fn removeAttribute(&self, nindex: i32) -> Result<()>

fn setAttribute( &self, nindex: i32, struri: &BSTR, strlocalname: &BSTR, strqname: &BSTR, strtype: &BSTR, strvalue: &BSTR ) -> Result<()>

fn setAttributes(&self, varatts: &VARIANT) -> Result<()>

fn setLocalName(&self, nindex: i32, strlocalname: &BSTR) -> Result<()>

fn setQName(&self, nindex: i32, strqname: &BSTR) -> Result<()>

fn setType(&self, nindex: i32, strtype: &BSTR) -> Result<()>

fn setURI(&self, nindex: i32, struri: &BSTR) -> Result<()>

fn setValue(&self, nindex: i32, strvalue: &BSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§