VsTextManagerClass.MapFilenameToLanguageSID, méthode

Donné un nom de fichier, détermine le service de langage enregistré, si un existe, qui le contient.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Public Overridable Function MapFilenameToLanguageSID ( _
    pszFileName As String, _
    <OutAttribute> ByRef pguidLangSID As Guid _
) As Integer
public virtual int MapFilenameToLanguageSID(
    string pszFileName,
    out Guid pguidLangSID
)
public:
virtual int MapFilenameToLanguageSID(
    [InAttribute] String^ pszFileName, 
    [OutAttribute] Guid% pguidLangSID
)
abstract MapFilenameToLanguageSID : 
        pszFileName:string * 
        pguidLangSID:Guid byref -> int  
override MapFilenameToLanguageSID : 
        pszFileName:string * 
        pguidLangSID:Guid byref -> int
public function MapFilenameToLanguageSID(
    pszFileName : String, 
    pguidLangSID : Guid
) : int

Paramètres

  • pszFileName
    Type : String

    [in] nom de fichier associé avec le service de langage.

  • pguidLangSID
    Type : Guid%

    [out] pointeur au service de langage.

Valeur de retour

Type : Int32

Implémentations

IVsTextManager.MapFilenameToLanguageSID(String, Guid%)

Sécurité .NET Framework

Voir aussi

Référence

VsTextManagerClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms