SecurityPermissionAttribute::Flags Property


Gets or sets all permission flags comprising the SecurityPermission permissions.

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

property SecurityPermissionFlag Flags {
	SecurityPermissionFlag get();
	void set(SecurityPermissionFlag value);

Property Value

Type: System.Security.Permissions::SecurityPermissionFlag

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

Exception Condition

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

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top