Condividi tramite


IVsTextEditorPropertyCategoryContainer.GetPropertyCategory Method

Definition

Returns the specified property category.

public:
 int GetPropertyCategory(Guid % rguidCategory, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextEditorPropertyContainer ^ % ppProp);
public int GetPropertyCategory (ref Guid rguidCategory, out Microsoft.VisualStudio.TextManager.Interop.IVsTextEditorPropertyContainer ppProp);
abstract member GetPropertyCategory : Guid * IVsTextEditorPropertyContainer -> int
Public Function GetPropertyCategory (ByRef rguidCategory As Guid, ByRef ppProp As IVsTextEditorPropertyContainer) As Integer

Parameters

rguidCategory
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
IVsTextEditorPropertyContainer

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

Returns

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  
);  

Applies to