ConfigTypesGetByIndex Method (MWriterClass)
index of the option' type
type of the option (for example "format", "format::video")
Gets an option type by its index.
Syntax
Public Overridable Sub ConfigTypesGetByIndex( _
   ByVal _nIndex As Integer, _
   ByRef _pbsSubType As String _
) 
public virtual void ConfigTypesGetByIndex( 
   int _nIndex,
   out string _pbsSubType
)
public procedure ConfigTypesGetByIndex( 
    _nIndex: Integer;
   Out  _pbsSubType: String
); virtual; 
public: virtual void ConfigTypesGetByIndex( 
   int _nIndex,
   [PARAMFLAG::Out] BSTR* _pbsSubType
) 

Parameters

_nIndex
index of the option' type
_pbsSubType
type of the option (for example "format", "format::video")
Example
Dim myType As String
myWriter.ConfigTypesGetByIndex(1, myType)
string myType;
myWriter.ConfigTypesGetByIndex(1, out myType);
var
myWriter: MWriter;
myConfig: IMConfig;
myType: widestring;
begin
myWriter:= CreateComObject(CLASS_MWriter) as MWriter;
myConfig:=myWriter as IMConfig;
myConfig.ConfigTypesGetByIndex(1, myType);
end;
See Also

Reference

MWriterClass Class
MWriterClass Members