Open sandboxFocus

Property PersistMetaData

PersistMetaData

Gets or sets a value indicating whether the custom attribute should be persisted in metadata, so that it is available for System.Reflection.

Declaration
public bool PersistMetaData { get; set; }
Property Value
Type Description
bool
Remarks

The default value is false. When this property is true, the compiled assembly contains an instance of the custom attribute on every element of code it was multicast to, as if you had added it manually, so that the instances can be reflected at run time.

See Also