pub trait IXMLElement2_Impl: Sized + 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: Option<&IXMLElement2>,
lindex: i32,
lreserved: i32
) -> Result<()>;
fn removeChild(&self, pchildelem: Option<&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: Option<&IXMLElement2>, lindex: i32, lreserved: i32 ) -> Result<()>
fn removeChild(&self, pchildelem: Option<&IXMLElement2>) -> Result<()>
fn attributes(&self) -> Result<IXMLElementCollection>
Object Safety§
This trait is not object safe.