IVsTextManager3.FindLanguageSIDForExtensionlessFilename(String, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the CLSID of the language service for a filename without an extension.
public:
int FindLanguageSIDForExtensionlessFilename(System::String ^ pszFileName, [Runtime::InteropServices::Out] Guid % pguidLangSID);
public int FindLanguageSIDForExtensionlessFilename (string pszFileName, out Guid pguidLangSID);
abstract member FindLanguageSIDForExtensionlessFilename : string * Guid -> int
Public Function FindLanguageSIDForExtensionlessFilename (pszFileName As String, ByRef pguidLangSID As Guid) As Integer
Parameters
- pszFileName
- String
[in] The filename for which to find the language service.
- pguidLangSID
- Guid
[out] The pointer to the language service.
Returns
Returns S_OK if the method is successful; otherwise, returns an error code.