Share via


IVsTextEditorPropertyCategoryContainer.GetPropertyCategory Method

Returns the specified property category.

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

Syntax

'Declaration
Function GetPropertyCategory ( _
    ByRef rguidCategory As Guid, _
    <OutAttribute> ByRef ppProp As IVsTextEditorPropertyContainer _
) As Integer
int GetPropertyCategory(
    ref Guid rguidCategory,
    out IVsTextEditorPropertyContainer ppProp
)
int GetPropertyCategory(
    [InAttribute] Guid% rguidCategory, 
    [OutAttribute] IVsTextEditorPropertyContainer^% ppProp
)
abstract GetPropertyCategory : 
        rguidCategory:Guid byref * 
        ppProp:IVsTextEditorPropertyContainer byref -> int
function GetPropertyCategory(
    rguidCategory : Guid, 
    ppProp : IVsTextEditorPropertyContainer
) : int

Parameters

  • rguidCategory
    Type: System.Guid%

    [in] Specifies the GUID category for the property. Predefined categories for the core text editor are GUID_EditPropCategory_View_MasterSettings and GUID_EditPropCategory_TextMgr_Global, as defined in textmgr.idl. Other objects can define different categories, as required.

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextEditorPropertyCategoryContainer::GetPropertyCategory(
   [in] REFGUID rguidCategory, 
   [out] IVsTextEditorPropertyContainer **ppProp
);

.NET Framework Security

See Also

Reference

IVsTextEditorPropertyCategoryContainer Interface

Microsoft.VisualStudio.TextManager.Interop Namespace