Freigeben über


IVsTextManager3.FindLanguageSIDForExtensionlessFilename-Methode

Gets the CLSID of the language service for a filename without an extension.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

Syntax

'Declaration
Function FindLanguageSIDForExtensionlessFilename ( _
    pszFileName As String, _
    <OutAttribute> ByRef pguidLangSID As Guid _
) As Integer
int FindLanguageSIDForExtensionlessFilename(
    string pszFileName,
    out Guid pguidLangSID
)
int FindLanguageSIDForExtensionlessFilename(
    [InAttribute] String^ pszFileName, 
    [OutAttribute] Guid% pguidLangSID
)
abstract FindLanguageSIDForExtensionlessFilename : 
        pszFileName:string * 
        pguidLangSID:Guid byref -> int
function FindLanguageSIDForExtensionlessFilename(
    pszFileName : String, 
    pguidLangSID : Guid
) : int

Parameter

  • pszFileName
    Typ: String

    [in] The filename for which to find the language service.

  • pguidLangSID
    Typ: Guid%

    [out] The pointer to the language service.

Rückgabewert

Typ: Int32
Returns S_OK if the method is successful; otherwise, returns an error code.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextManager3 Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace