Compartilhar via


IVsIntellisenseProjectManager.GetContainedLanguageFactory Method

Definition

Obtains the contained language factory for a given language.

public:
 int GetContainedLanguageFactory(System::String ^ bstrLanguage, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsContainedLanguageFactory ^ % ppContainedLanguageFactory);
public:
 int GetContainedLanguageFactory(Platform::String ^ bstrLanguage, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsContainedLanguageFactory ^ &  ppContainedLanguageFactory);
int GetContainedLanguageFactory(std::wstring const & bstrLanguage, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsContainedLanguageFactory const & & ppContainedLanguageFactory);
public int GetContainedLanguageFactory (string bstrLanguage, out Microsoft.VisualStudio.TextManager.Interop.IVsContainedLanguageFactory ppContainedLanguageFactory);
abstract member GetContainedLanguageFactory : string * IVsContainedLanguageFactory -> int
Public Function GetContainedLanguageFactory (bstrLanguage As String, ByRef ppContainedLanguageFactory As IVsContainedLanguageFactory) As Integer

Parameters

bstrLanguage
String

[in] String containing the name of the language.

ppContainedLanguageFactory
IVsContainedLanguageFactory

[out] Pointer to an IVsContainedLanguageFactory interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to