ConfigGetCount Method (MWriterClass)
type of the option
number of options
Gets count of the certain type options.
Syntax
Public Overridable Sub ConfigGetCount( _
   ByVal _bsType As String, _
   ByRef _pnCount As Integer _
) 
public virtual void ConfigGetCount( 
   string _bsType,
   out int _pnCount
)
public procedure ConfigGetCount( 
    _bsType: String;
   Out  _pnCount: Integer
); virtual; 
public: virtual void ConfigGetCount( 
   BSTR* _bsType,
   [PARAMFLAG::Out] int _pnCount
) 

Parameters

_bsType
type of the option
_pnCount
number of options
Example
Dim myCount As Integer
myWriter.ConfigGetCount("format", myCount)
int myCount;
myWriter.ConfigGetCount("format", out myCount);
var
myWriter: MWriter;
myConfig: IMConfig;
myOption: string;
begin
myWriter:= CreateComObject(CLASS_MWriter) as MWriter;
myConfig:=myWriter as IMConfig;
myConfig.ConfigGetCount('format', myCount);
end;
See Also

Reference

MWriterClass Class
MWriterClass Members