ReflectionPermissionAttribute.Flags Property


Gets or sets the current allowed uses of reflection.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public ReflectionPermissionFlag Flags { get; set; }

Property Value

Type: System.Security.Permissions.ReflectionPermissionFlag

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

Exception Condition

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

.NET Framework
Available since 1.1
Return to top