StorePermissionAttribute.AddToStore Property


Gets or sets a value indicating whether the code is permitted to add to a store.

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

public bool AddToStore { get; set; }

Property Value

Type: System.Boolean

true if the ability to add to a store is allowed; otherwise, false.

For security reasons, this ability should be granted only to highly trusted code.

.NET Framework
Available since 2.0
Return to top