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
声明
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.
- 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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextEditorPropertyCategoryContainer::GetPropertyCategory(
[in] REFGUID rguidCategory,
[out] IVsTextEditorPropertyContainer **ppProp
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.