ConfigTypesGetByIndex Method (IMConfig)
index of the option' type
type of the option (for example "format", "format::video")
Gets an option type by its index.
Syntax
Sub ConfigTypesGetByIndex( _
   ByVal _nIndex As Integer, _
   ByRef _pbsSubType As String _
) 
void ConfigTypesGetByIndex( 
   int _nIndex,
   out string _pbsSubType
)
procedure ConfigTypesGetByIndex( 
    _nIndex: Integer;
   Out  _pbsSubType: String
); 
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

IMConfig Interface
IMConfig Members