共用方式為


IPackageManifest.PolicyItems 屬性

取得封裝的程式碼存取安全性 (CAS) 原則。

命名空間:  Microsoft.VisualStudio.SharePoint.Packages
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Property PolicyItems As IPolicyItemCollection
IPolicyItemCollection PolicyItems { get; }

屬性值

型別:Microsoft.VisualStudio.SharePoint.Packages.IPolicyItemCollection
表示 CAS 原則的集合。

.NET Framework 安全性

請參閱

參考

IPackageManifest 介面

Microsoft.VisualStudio.SharePoint.Packages 命名空間