IVsTextManager3.FindLanguageSIDForExtensionlessFilename Method

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

声明
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

Parameters

  • pszFileName
    Type: System.String
    [in] The filename for which to find the language service.
  • pguidLangSID
    Type: System.Guid%
    [out] The pointer to the language service.

Return Value

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

.NET Framework Security

See Also

Reference

IVsTextManager3 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace