IVsTextManager3::FindLanguageSIDForExtensionlessFilename Method (String^, Guid)

 

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)

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::Int32

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

Return to top
Show: