Trait windows::Win32::Data::Xml::MsXml::IXMLElement_Impl

pub trait IXMLElement_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn tagName(&self) -> Result<BSTR>;
    fn SettagName(&self, p: &BSTR) -> Result<()>;
    fn parent(&self) -> Result<IXMLElement>;
    fn setAttribute(
        &self,
        strpropertyname: &BSTR,
        propertyvalue: &VARIANT
    ) -> Result<()>;
    fn getAttribute(&self, strpropertyname: &BSTR) -> Result<VARIANT>;
    fn removeAttribute(&self, strpropertyname: &BSTR) -> Result<()>;
    fn children(&self) -> Result<IXMLElementCollection>;
    fn type(&self) -> Result<i32>;
    fn text(&self) -> Result<BSTR>;
    fn Settext(&self, p: &BSTR) -> Result<()>;
    fn addChild(
        &self,
        pchildelem: Option<&IXMLElement>,
        lindex: i32,
        lreserved: i32
    ) -> Result<()>;
    fn removeChild(&self, pchildelem: Option<&IXMLElement>) -> Result<()>;
}

Required Methods§

fn tagName(&self) -> Result<BSTR>

fn SettagName(&self, p: &BSTR) -> Result<()>

fn parent(&self) -> Result<IXMLElement>

fn setAttribute( &self, strpropertyname: &BSTR, propertyvalue: &VARIANT ) -> Result<()>

fn getAttribute(&self, strpropertyname: &BSTR) -> Result<VARIANT>

fn removeAttribute(&self, strpropertyname: &BSTR) -> Result<()>

fn children(&self) -> Result<IXMLElementCollection>

fn type(&self) -> Result<i32>

fn text(&self) -> Result<BSTR>

fn Settext(&self, p: &BSTR) -> Result<()>

fn addChild( &self, pchildelem: Option<&IXMLElement>, lindex: i32, lreserved: i32 ) -> Result<()>

fn removeChild(&self, pchildelem: Option<&IXMLElement>) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§