IVsTextManager3::FindLanguageSIDForExtensionlessFilename Method (String^, Guid)
Visual Studio 2015
Gets the CLSID of the language service for a filename without an extension.
Assembly: Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
int FindLanguageSIDForExtensionlessFilename(
String^ pszFileName,
[OutAttribute] Guid% pguidLangSID
)
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::Int32Returns S_OK if the method is successful; otherwise, returns an error code.
Show: