TypeBuilder.GenericParameterAttributes 屬性

定義

取得值,指出目前泛型類型參數的共變數與特殊條件約束。Gets a value that indicates the covariance and special constraints of the current generic type parameter.

public:
 virtual property System::Reflection::GenericParameterAttributes GenericParameterAttributes { System::Reflection::GenericParameterAttributes get(); };
public override System.Reflection.GenericParameterAttributes GenericParameterAttributes { get; }
member this.GenericParameterAttributes : System.Reflection.GenericParameterAttributes
Public Overrides ReadOnly Property GenericParameterAttributes As GenericParameterAttributes

屬性值

GenericParameterAttributes

GenericParameterAttributes 值的位元組合,描述目前泛型類型參數的共變數和特殊條件約束。A bitwise combination of GenericParameterAttributes values that describes the covariance and special constraints of the current generic type parameter.

備註

注意

發出程式碼時,泛型型別參數是由物件表示, GenericTypeParameterBuilder 而不是由 TypeBuilder 物件表示。When emitting code, a generic type parameter is represented by a GenericTypeParameterBuilder object rather than by a TypeBuilder object.

適用於