Compartir a través de


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.

Return Value

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

.NET Framework Security

See Also

Reference

IVsIntellisenseProjectManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace