ConfigGet Method (MWriterClass)
type of the option
value of the option
properties of the option
Gets the option of the specified type with its attributes.
Syntax
Public Overridable Sub ConfigGet( _
   ByVal _bsType As String, _
   ByRef _pbsName As String, _
   ByRef _ppConfigProps As IMAttributes _
) 
public virtual void ConfigGet( 
   string _bsType,
   out string _pbsName,
   out IMAttributes _ppConfigProps
)
public procedure ConfigGet( 
    _bsType: String;
   Out  _pbsName: String;
   Out  _ppConfigProps: IMAttributes
); virtual; 
public: virtual 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

MWriterClass Class
MWriterClass Members