다음을 통해 공유


TagTypeAttribute 생성자

TagTypeAttribute의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.Text.Tagging
어셈블리:  Microsoft.VisualStudio.Text.Logic(Microsoft.VisualStudio.Text.Logic.dll)

구문

‘선언
Public Sub New ( _
    tagType As Type _
)
public TagTypeAttribute(
    Type tagType
)
public:
TagTypeAttribute(
    Type^ tagType
)
new : 
        tagType:Type -> TagTypeAttribute
public function TagTypeAttribute(
    tagType : Type
)

매개 변수

  • tagType
    형식: Type

    ITag에서 파생되어야 하는 태그 형식입니다.

예외

예외 조건
ArgumentNullException

tagType가 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

ArgumentException

tagType이 ITag에서 파생되지 않은 경우

.NET Framework 보안

참고 항목

참조

TagTypeAttribute 클래스

Microsoft.VisualStudio.Text.Tagging 네임스페이스