IVsTextEditorPropertyCategoryContainer.GetPropertyCategory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[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
);