ConfigGet Method (IMConfig)
type of the option
value of the option
properties of the option
Gets the option of the specified type with its attributes.
Syntax
Sub ConfigGet( _
   ByVal _bsType As String, _
   ByRef _pbsName As String, _
   ByRef _ppConfigProps As IMAttributes _
) 
procedure ConfigGet( 
    _bsType: String;
   Out  _pbsName: String;
   Out  _ppConfigProps: IMAttributes
); 
void ConfigGet( 
   BSTR* _bsType,
   [PARAMFLAG::Out] BSTR* _pbsName,
   [PARAMFLAG::Out] IMAttributes* _ppConfigProps
) 

Parameters

_bsType
type of the option
_pbsName
value of the option
_ppConfigProps
properties of the option
Example
Dim myAttributes As IMAttributes
Dim myOption As String
myWriter.ConfigGet("format", myOption, myAttributes)
IMAttributes myAttributes;
string myOption;
myWriter.ConfigGet("format", out myOption, out myAttributes);
var
myWriter: MWriter;
myConfig: IMConfig;
myAttributes: IMAttributes;
myOption: string;
begin
myWriter:= CreateComObject(CLASS_MWriter) as MWriter;
myConfig:=myWriter as IMConfig;
myConfig.ConfigGet('format', myOption, myAttributes);
end;
See Also

Reference

IMConfig Interface
IMConfig Members