IVsTextManager3.FindLanguageSIDForExtensionlessFilename 方法

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

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.11.0(在 Microsoft.VisualStudio.TextManager.Interop.11.0.dll 中)

语法

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

参数

  • pszFileName
    类型:String

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

  • pguidLangSID
    类型:Guid%

    [out] The pointer to the language service.

返回值

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

.NET Framework 安全性

请参阅

参考

IVsTextManager3 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间