IVsTextEditorPropertyCategoryContainer 인터페이스
텍스트 편집기는 속성 집합을 노출 하는 개체를 허용 합니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("A6078038-D578-4F32-B9B2-C83E1726454D")> _
Public Interface IVsTextEditorPropertyCategoryContainer
[InterfaceTypeAttribute()]
[GuidAttribute("A6078038-D578-4F32-B9B2-C83E1726454D")]
public interface IVsTextEditorPropertyCategoryContainer
[InterfaceTypeAttribute()]
[GuidAttribute(L"A6078038-D578-4F32-B9B2-C83E1726454D")]
public interface class IVsTextEditorPropertyCategoryContainer
[<InterfaceTypeAttribute()>]
[<GuidAttribute("A6078038-D578-4F32-B9B2-C83E1726454D")>]
type IVsTextEditorPropertyCategoryContainer = interface end
public interface IVsTextEditorPropertyCategoryContainer
IVsTextEditorPropertyCategoryContainer 형식에서는 다음과 같은 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
GetPropertyCategory | 지정 된 속성 항목을 반환합니다. |
위쪽
설명
호출 하는 것이 권장 되는 설정 보기를 만들 수 QueryInterface 보기 개체는 환경에 (VsTextView)에 IVsTextEditorPropertyCategoryContainer 인터페이스입니다. 이 인터페이스는 텍스트 편집기 속성 집합을 노출 하는 개체 수 있습니다. 텍스트 뷰를 현재 범주에 노출 GUID_EditPropCategory_View_MasterSettings. 이 보기에 대 한 강제 설정의 그룹입니다.
호출 GetPropertyCategory 값을 지정 하 고 GUID_EditPropCategory_View_MasterSettings 에 있는 rguidProperty 매개 변수. 이 메서드는 다음에 대 한 포인터를 반환 IVsTextEditorPropertyContainer, 보기에 대 한 강제 속성 집합을 포함 합니다. 이 그룹의 모든 설정은 영구적으로 강제로 됩니다. 설정을이 그룹에 속해 있지 않으면 다음에 지정 된 옵션입니다 있는 도구/옵션 메뉴 또는 사용자의 명령입니다.
강제로 방법에 대 한 줄 바꿈, 호출 SetProperty 값을 지정 하 고 VSEDITPROPID_ViewLangOpt_WordWrap, vt에는 idprop vt는 매개 변수를는 Variant 의 VT_BOOL 여기서 VARIANT_TRUE입니다 vt.boolVal. 자유롭게 배치에 자동 줄 바꿈을 허용 하려면이 속성 범주를 호출 하 여 제거 RemoveProperty 값을 지정 하 고 VSEDITPROPID_ViewLangOpt_WordWrap 에 idprop 매개 변수.
호출자 참고 사항
개체에는 텍스트 편집기 속성을 노출 하기 위해이 인터페이스를 호출 합니다.