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
형식: TypeITag에서 파생되어야 하는 태그 형식입니다.
예외
예외 | 조건 |
---|---|
ArgumentNullException | tagType가 nullNull 참조(Visual Basic의 경우 Nothing)입니다. |
ArgumentException | tagType이 ITag에서 파생되지 않은 경우 |
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.