다음을 통해 공유


IVsTextEditorPropertyCategoryContainer.GetPropertyCategory 메서드

지정 된 속성 항목을 반환합니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
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

매개 변수

  • rguidCategory
    형식: Guid%

    [in] GUID 속성의 범주를 지정합니다. 코어 텍스트 편집기에 대 한 미리 정의 된 범주는 GUID_EditPropCategory_View_MasterSettings 및 GUID_EditPropCategory_TextMgr_Global, textmgr.idl에 정의 된. 다른 개체를 필요에 따라 정의할 수 있습니다.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

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

.NET Framework 보안

참고 항목

참조

IVsTextEditorPropertyCategoryContainer 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스