TypeAttributes 열거형
형식 특성을 지정합니다.
이 열거형에는 멤버 값를 비트로 조합할 수 있는 FlagsAttribute 특성이 있습니다.
네임스페이스: System.Reflection
어셈블리: mscorlib(mscorlib.dll)
구문
‘선언
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
<FlagsAttribute> _
Public Enumeration TypeAttributes
‘사용 방법
Dim instance As TypeAttributes
[SerializableAttribute]
[ComVisibleAttribute(true)]
[FlagsAttribute]
public enum TypeAttributes
[SerializableAttribute]
[ComVisibleAttribute(true)]
[FlagsAttribute]
public enum class TypeAttributes
/** @attribute SerializableAttribute() */
/** @attribute ComVisibleAttribute(true) */
/** @attribute FlagsAttribute() */
public enum TypeAttributes
SerializableAttribute
ComVisibleAttribute(true)
FlagsAttribute
public enum TypeAttributes
멤버
멤버 이름 | 설명 | |
---|---|---|
Abstract | 형식을 추상으로 지정합니다. | |
AnsiClass | LPTSTR가 ANSI로 해석됩니다. | |
AutoClass | LPTSTR가 자동으로 해석됩니다. | |
AutoLayout | 클래스 필드가 공용 언어 런타임에 의해 자동으로 레이아웃되도록 지정합니다. | |
BeforeFieldInit | 형식을 호출하는 정적 메서드가 시스템에서 해당 형식을 강제로 초기화하지 않도록 지정합니다. | |
Class | 형식을 클래스로 지정합니다. | |
ClassSemanticsMask | 클래스 기능 정보를 지정합니다. 현재 클래스에 컨텍스트를 추가(활성)할 수 있습니다. | |
CustomFormatClass | LPSTR는 NotSupportedException이 throw될 가능성을 비롯하여 구현 방식에 따라 다르게 해석됩니다. | |
CustomFormatMask | 네이티브 interop에 대한 비표준 인코딩 정보를 검색하는 데 사용됩니다. 이러한 2비트 값의 의미는 지정되어 있지 않습니다. | |
ExplicitLayout | 클래스 필드를 지정한 간격으로 레이아웃하도록 지정합니다. | |
HasSecurity | 형식에 관련 보안이 있습니다. | |
Import | 클래스나 인터페이스를 다른 모듈에서 가져오도록 지정합니다. | |
Interface | 형식을 인터페이스로 지정합니다. | |
LayoutMask | 클래스 레이아웃 정보를 지정합니다. | |
NestedAssembly | 클래스를 어셈블리 표시 유형으로 중첩시켜 해당 클래스의 어셈블리 내의 메서드에서만 액세스할 수 있도록 지정합니다. | |
NestedFamANDAssem | 클래스를 어셈블리와 패밀리 표시 유형으로 중첩시켜 해당 클래스의 패밀리와 어셈블리의 교집합에 있는 메서드에서만 액세스할 수 있도록 지정합니다. | |
NestedFamily | 클래스를 패밀리 표시 유형으로 중첩시켜 클래스의 고유한 형식과 다른 하위 형식 내의 메서드에서만 액세스할 수 있도록 지정합니다. | |
NestedFamORAssem | 클래스를 패밀리나 어셈블리 표시 유형으로 중첩시켜 해당 클래스의 패밀리나 어셈블리의 합집합 속에 있는 메서드에서만 액세스할 수 있도록 지정합니다. | |
NestedPrivate | 클래스를 전용 표시 유형으로 중첩시키도록 지정합니다. | |
NestedPublic | 클래스를 공용 표시 유형으로 중첩시키도록 지정합니다. | |
NotPublic | 클래스를 공용이 아니도록 지정합니다. | |
Public | 클래스를 공용이 되도록 지정합니다. | |
ReservedMask | 런타임에 사용하도록 예약된 특성입니다. | |
RTSpecialName | 런타임에서 이름 인코딩을 검사해야 합니다. | |
Sealed | 클래스를 고정시켜 확장되지 않도록 지정합니다. | |
SequentialLayout | 메타 데이터로 필드가 발생하도록 하기 위해 클래스 필드를 순차적으로 레이아웃시키도록 지정합니다. | |
Serializable | 클래스를 serialize할 수 있도록 지정합니다. | |
SpecialName | 이름을 사용하여 설명하는 방법으로 클래스를 지정합니다. | |
StringFormatMask | 기본 상호 운용성의 문자열 정보를 검색하는 데 사용됩니다. | |
UnicodeClass | LPTSTR가 유니코드로 해석됩니다. | |
VisibilityMask | 형식 표시 유형 정보를 지정합니다. |
설명
이 열거자 클래스의 멤버가 corhdr.h 파일에 정의된 CorTypeAttr 열거자와 일치합니다.
플랫폼
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
2.0, 1.1, 1.0에서 지원
.NET Compact Framework
2.0, 1.0에서 지원