次の方法で共有


IVsTextManager3.FindLanguageSIDForExtensionlessFilename(String, Guid) Method

Definition

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.

Applies to