Editare

Partajați prin


ReflectionPermissionAttribute.Flags Property

Definition

Gets or sets the current allowed uses of reflection.

public:
 property System::Security::Permissions::ReflectionPermissionFlag Flags { System::Security::Permissions::ReflectionPermissionFlag get(); void set(System::Security::Permissions::ReflectionPermissionFlag value); };
public System.Security.Permissions.ReflectionPermissionFlag Flags { get; set; }
member this.Flags : System.Security.Permissions.ReflectionPermissionFlag with get, set
Public Property Flags As ReflectionPermissionFlag

Property Value

One or more of the ReflectionPermissionFlag values combined using a bitwise OR.

Exceptions

An attempt is made to set this property to an invalid value. See ReflectionPermissionFlag for the valid values.

Applies to