AttributeTable Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The attribute table is a read-only collection of metadata attributes that are associated with specific types, members, and dependencies.
public ref class AttributeTable sealed
public sealed class AttributeTable
type AttributeTable = class
Public NotInheritable Class AttributeTable
- Inheritance
-
AttributeTable
Remarks
This table is created using the AttributeTableBuilder and is used by the MetadataStore.
The AttributeTable is created using the AttributeTableBuilder and is used by the MetadataStore.
Properties
AttributedTypes |
Returns an enumeration of all types that have attribute overrides, on a property, member, or the type itself. |
Methods
ContainsAttributes(Type) |
Determines whether this table contains metadata for the given type. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetCustomAttributes(Type) |
Returns an enumeration of all class-level attributes provided for the specified type. |
GetCustomAttributes(Type, DependencyProperty) |
Returns an enumeration of all attributes provided for the specified dependency of the specified type. |
GetCustomAttributes(Type, MemberDescriptor) |
Returns an enumeration of all attributes provided for the specified member of the specified type. |
GetCustomAttributes(Type, MemberInfo) |
Returns an enumeration of all attributes provided for the specified member of the specified type. |
GetCustomAttributes(Type, String) |
Returns an enumeration of all attributes provided for the specified member of the specified type. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기