CustomAttribute CustomAttribute CustomAttribute CustomAttribute Struct

定義

public value class CustomAttribute
public struct CustomAttribute
type CustomAttribute = struct
Public Structure CustomAttribute
繼承
CustomAttributeCustomAttributeCustomAttributeCustomAttribute

屬性

Constructor Constructor Constructor Constructor

取得自訂屬性的建構函式 (MethodDefinitionHandleMemberReferenceHandle)。Gets the constructor (the MethodDefinitionHandle or MemberReferenceHandle) of the custom attribute type.

Parent Parent Parent Parent

取得套用屬性之中繼資料實體的控制代碼。Gets the handle of the metadata entity the attribute is applied to.

Value Value Value Value

取得屬性值。Gets the value of the attribute.

方法

DecodeValue<TType>(ICustomAttributeTypeProvider<TType>) DecodeValue<TType>(ICustomAttributeTypeProvider<TType>) DecodeValue<TType>(ICustomAttributeTypeProvider<TType>) DecodeValue<TType>(ICustomAttributeTypeProvider<TType>)

解碼值 Blob 中編碼的引數。Decodes the arguments encoded in the value blob.

適用於