IWMPLibraryServices :: getCountByType, méthode

La méthode getCountByType retourne le nombre de bibliothèques disponibles d’un type spécifié.

Syntaxe

public System.Int32 getCountByType(
  WMPLibraryType wmplt
);

Public Function getCountByType( _
  ByVal wmplt As WMPLibraryType _
) As System.Int32
Implements IWMPLibraryServices.getCountByType

Paramètres

wmplt [ dans]

Valeur de l’énumération wmplib. WMPLibraryType qui spécifie le type de bibliothèque à compter.

Valeur de retour

System. Int32 qui est le nombre de bibliothèques.

Spécifications

Condition requise Valeur
Version
Lecteur Windows Media 11.
Espace de noms
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

Voir aussi

Interface IWMPLibraryServices (VB et C#)

WMPLibraryType