windows::Win32::Data::Xml::MsXml

Trait IXMLElement2_Impl

pub trait IXMLElement2_Impl: IDispatch_Impl {
Show 13 methods // Required methods fn tagName(&self) -> Result<BSTR>; fn SettagName(&self, p: &BSTR) -> Result<()>; fn parent(&self) -> Result<IXMLElement2>; 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: Ref<'_, IXMLElement2>, lindex: i32, lreserved: i32, ) -> Result<()>; fn removeChild(&self, pchildelem: Ref<'_, IXMLElement2>) -> Result<()>; fn attributes(&self) -> Result<IXMLElementCollection>;
}

Required Methods§

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

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

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

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: Ref<'_, IXMLElement2>, lindex: i32, lreserved: i32, ) -> Result<()>

fn removeChild(&self, pchildelem: Ref<'_, IXMLElement2>) -> Result<()>

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

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.

Implementors§