pub trait IAlternativeName_Impl: Sized + IDispatch_Impl {
// Required methods
fn InitializeFromString(
&self,
type: AlternativeNameType,
strvalue: &BSTR,
) -> Result<()>;
fn InitializeFromRawData(
&self,
type: AlternativeNameType,
encoding: EncodingType,
strrawdata: &BSTR,
) -> Result<()>;
fn InitializeFromOtherName(
&self,
pobjectid: Option<&IObjectId>,
encoding: EncodingType,
strrawdata: &BSTR,
tobewrapped: VARIANT_BOOL,
) -> Result<()>;
fn Type(&self) -> Result<AlternativeNameType>;
fn StrValue(&self) -> Result<BSTR>;
fn ObjectId(&self) -> Result<IObjectId>;
fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>;
}
Required Methods§
fn InitializeFromString( &self, type: AlternativeNameType, strvalue: &BSTR, ) -> Result<()>
fn InitializeFromRawData( &self, type: AlternativeNameType, encoding: EncodingType, strrawdata: &BSTR, ) -> Result<()>
fn InitializeFromOtherName( &self, pobjectid: Option<&IObjectId>, encoding: EncodingType, strrawdata: &BSTR, tobewrapped: VARIANT_BOOL, ) -> Result<()>
fn Type(&self) -> Result<AlternativeNameType>
fn StrValue(&self) -> Result<BSTR>
fn ObjectId(&self) -> Result<IObjectId>
fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>
Object Safety§
This trait is not object safe.