IVsIntellisenseProjectManager.GetContainedLanguageFactory Method
Obtains the contained language factory for a given language.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetContainedLanguageFactory ( _
bstrLanguage As String, _
<OutAttribute> ByRef ppContainedLanguageFactory As IVsContainedLanguageFactory _
) As Integer
int GetContainedLanguageFactory(
string bstrLanguage,
out IVsContainedLanguageFactory ppContainedLanguageFactory
)
int GetContainedLanguageFactory(
[InAttribute] String^ bstrLanguage,
[OutAttribute] IVsContainedLanguageFactory^% ppContainedLanguageFactory
)
abstract GetContainedLanguageFactory :
bstrLanguage:string *
ppContainedLanguageFactory:IVsContainedLanguageFactory byref -> int
function GetContainedLanguageFactory(
bstrLanguage : String,
ppContainedLanguageFactory : IVsContainedLanguageFactory
) : int
Parameters
bstrLanguage
Type: String[in] String containing the name of the language.
ppContainedLanguageFactory
Type: Microsoft.VisualStudio.TextManager.Interop.IVsContainedLanguageFactory%[out] Pointer to an IVsContainedLanguageFactory interface.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.