Compartir a través de


IPolicyItem Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a code access security (CAS) policy item.

Namespace:  Microsoft.VisualStudio.SharePoint.Packages
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface IPolicyItem _
    Inherits IObservableModelElement
public interface IPolicyItem : IObservableModelElement

The IPolicyItem type exposes the following members.

Properties

  Name Description
Public property Assemblies Gets the assemblies associated with the code access security (CAS) policy item.
Public property Description Gets or sets the description of the permission set.
Public property Name Gets or sets the name of the permission set.
Public property Permissions Gets the code access security (CAS) permissions that comprise the permission set.
Public property Version Gets or sets the version number of the permission set.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a DSL model element has changed. (Inherited from IObservableModelElement.)
Public event PropertyChanging Occurs when a DSL model element is being changed. (Inherited from IObservableModelElement.)

Top

Remarks

For more information, see Code Access Security.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Packages Namespace