Compartir a través de


IVsLanguageInfoPackage.GetLanguagePropertyPage Method

Gets the property page for a given language service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetLanguagePropertyPage ( _
    ByRef rguidPage As Guid, _
    ByRef guidLang As Guid, _
    <OutAttribute> ppage As VSPROPSHEETPAGE() _
) As Integer
int GetLanguagePropertyPage(
    ref Guid rguidPage,
    ref Guid guidLang,
    VSPROPSHEETPAGE[] ppage
)
int GetLanguagePropertyPage(
    [InAttribute] Guid% rguidPage, 
    [InAttribute] Guid% guidLang, 
    [InAttribute] [OutAttribute] array<VSPROPSHEETPAGE>^ ppage
)
abstract GetLanguagePropertyPage : 
        rguidPage:Guid byref * 
        guidLang:Guid byref * 
        ppage:VSPROPSHEETPAGE[] byref -> int
function GetLanguagePropertyPage(
    rguidPage : Guid, 
    guidLang : Guid, 
    ppage : VSPROPSHEETPAGE[]
) : int

Parameters

  • rguidPage
    Type: Guid%

    [in] GUID for the property page.

  • guidLang
    Type: Guid%

    [in] GUID for the language service.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLanguageInfoPackage::GetLanguagePropertyPage(
   [in] REFGUID rguidPage, 
   [in] REFGUID guidLang, 
   [in, out] VSPROPSHEETPAGE *ppage
);

.NET Framework Security

See Also

Reference

IVsLanguageInfoPackage Interface

Microsoft.VisualStudio.Shell.Interop Namespace