Método IVsTextManager3.FindLanguageSIDForExtensionlessFilename
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 (em Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
Sintaxe
'Declaração
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
Parâmetros
pszFileName
Tipo: String[in] The filename for which to find the language service.
pguidLangSID
Tipo: Guid%[out] The pointer to the language service.
Valor de retorno
Tipo: Int32
Returns S_OK if the method is successful; otherwise, returns an error code.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.