IVsTextEditorPropertyCategoryContainer::GetPropertyCategory Method (Guid, IVsTextEditorPropertyContainer^)

 

Returns the specified property category.

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

int GetPropertyCategory(
	[InAttribute] Guid% rguidCategory,
	[OutAttribute] IVsTextEditorPropertyContainer^% ppProp
)

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.

ppProp
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextEditorPropertyContainer^

[out] Pointer to an IVsTextEditorPropertyContainer object, which allows you to get, set, and remove editor properties.

Return Value

Type: System::Int32

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

From textmgr.idl:

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