LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
GetCodecInfoCount Method
See Also 
Leadtools.Multimedia Namespace > WMProfileManager Class : GetCodecInfoCount Method



Type
Character string that identifies the major media type for which the number of available codecs is retrieved.
Type
Character string that identifies the major media type for which the number of available codecs is retrieved.
Gets the number of available codecs for the specified media type.

Syntax

Visual Basic (Declaration) 
Public Function GetCodecInfoCount( _
   ByVal Type As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As WMProfileManager
Dim Type As String
Dim value As Integer
 
value = instance.GetCodecInfoCount(Type)
C# 
public int GetCodecInfoCount( 
   string Type
)
C++/CLI 
public:
int GetCodecInfoCount( 
   String^ Type
) 

Parameters

Type
Character string that identifies the major media type for which the number of available codecs is retrieved.

Return Value

A value that represents the number of available codecs

Remarks

Gets the number of available codecs for the specified media type. The returned number of codecs can be used with the GetCodecFormatCount and WMProfileManager. The GetCodecFormat methods deal with codec formats by index. For more information, refer to the Microsoft documentation for IWMCodecInfo.GetCodecInfoCount

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also