KeyContainerPermissionAccessEntryCollection 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Code Access Security is not supported or honored by the runtime.
表示 KeyContainerPermissionAccessEntry 对象集合。 此类不能被继承。
public ref class KeyContainerPermissionAccessEntryCollection sealed : System::Collections::ICollection
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class KeyContainerPermissionAccessEntryCollection : System.Collections.ICollection
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class KeyContainerPermissionAccessEntryCollection : System.Collections.ICollection
public sealed class KeyContainerPermissionAccessEntryCollection : System.Collections.ICollection
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type KeyContainerPermissionAccessEntryCollection = class
interface ICollection
interface IEnumerable
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type KeyContainerPermissionAccessEntryCollection = class
interface ICollection
interface IEnumerable
type KeyContainerPermissionAccessEntryCollection = class
interface ICollection
interface IEnumerable
Public NotInheritable Class KeyContainerPermissionAccessEntryCollection
Implements ICollection
- 继承
-
KeyContainerPermissionAccessEntryCollection
- 属性
- 实现
注意
代码访问安全性 (CAS) 已在所有版本的 .NET Framework 和 .NET 中弃用。 如果使用与 CAS 相关的 API,最新版本的 .NET 不会遵循 CAS 注释,并会生成错误。 开发人员应寻求用于完成安全任务的替代方法。
KeyContainerPermissionAccessEntry 对象指定特定密钥容器的访问权限。
Key |
已过时.
初始化 KeyContainerPermissionAccessEntryCollection 类的新实例。 |
Count |
已过时.
获取集合中的项数。 |
Is |
已过时.
获取一个值,该值指示集合是否是同步的(线程安全)。 |
Item[Int32] |
已过时.
获取集合中指定索引处的项。 |
Sync |
已过时.
获取可用于同步对集合的访问的对象。 |
Add(Key |
已过时.
将 KeyContainerPermissionAccessEntry 对象添加到集合中。 |
Clear() |
已过时.
从集合中移除所有 KeyContainerPermissionAccessEntry 对象。 |
Copy |
已过时.
从特定的 ICollection 索引开始,将 Array 的元素复制到一个 Array 中。 |
Copy |
已过时.
将集合中的元素复制到一个兼容的一维数组(从目标数组的指定索引处开始)。 |
Equals(Object) |
已过时.
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
已过时.
返回 KeyContainerPermissionAccessEntryEnumerator 对象,该对象可用于循环访问集合中的对象。 |
Get |
已过时.
作为默认哈希函数。 (继承自 Object) |
Get |
已过时.
获取当前实例的 Type。 (继承自 Object) |
Index |
已过时.
获取指定的 KeyContainerPermissionAccessEntry 对象在该集合中的索引(如果它在该集合中存在)。 |
Memberwise |
已过时.
创建当前 Object 的浅表副本。 (继承自 Object) |
Remove(Key |
已过时.
从集合中移除指定的 KeyContainerPermissionAccessEntry 对象。 |
To |
已过时.
返回表示当前对象的字符串。 (继承自 Object) |
ICollection. |
已过时.
将集合中的元素复制到一个兼容的一维数组(从目标数组的指定索引处开始)。 |
IEnumerable. |
已过时.
返回 KeyContainerPermissionAccessEntryEnumerator 对象,该对象可用于循环访问集合中的对象。 |
Cast<TResult>(IEnumerable) |
已过时.
将 IEnumerable 的元素强制转换为指定的类型。 |
Of |
已过时.
根据指定类型筛选 IEnumerable 的元素。 |
As |
已过时.
启用查询的并行化。 |
As |
已过时.
将 IEnumerable 转换为 IQueryable。 |
产品 | 版本 (已过时) |
---|---|
.NET | (8 (package-provided), 9 (package-provided)) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1 (5, 6, 7, 8, 9) |