Skip to content

PropertyAttribute Constructors ​

Definition ​

  • Namespace: JASE.Reflection
  • Assembly: JASE.ReflectionTools.dll

Overloads ​

NameDescription
PropertyAttribute()Initializes a new attribute descriptor with no attribute Type assigned.
PropertyAttribute(Type type)Initializes a new attribute descriptor for the specified attribute type.

PropertyAttribute() ​

csharp
PropertyAttribute()

Initializes a new attribute descriptor with no attribute Type assigned.

Remarks ​

Callers must set Type before using this instance to emit a custom attribute.

PropertyAttribute(Type type) ​

csharp
PropertyAttribute(Type type)

Initializes a new attribute descriptor for the specified attribute type.

Parameters ​

NameDescription
typeThe attribute type to apply (must derive from Attribute).