KeyContainerPermissionAccessEntryCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Code Access Security is not supported or honored by the runtime.
Represents a collection of KeyContainerPermissionAccessEntry objects. This class cannot be inherited.
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
- Inheritance
-
KeyContainerPermissionAccessEntryCollection
- Attributes
- Implements
Caution
Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.
KeyContainerPermissionAccessEntry objects specify access rights for specific key containers.
Key |
Initializes a new instance of the KeyContainerPermissionAccessEntryCollection class. |
Count |
Gets the number of items in the collection. |
Is |
Gets a value indicating whether the collection is synchronized (thread safe). |
Item[Int32] |
Gets the item at the specified index in the collection. |
Sync |
Gets an object that can be used to synchronize access to the collection. |
Add(Key |
Adds a KeyContainerPermissionAccessEntry object to the collection. |
Clear() |
Removes all the KeyContainerPermissionAccessEntry objects from the collection. |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. |
Copy |
Copies the elements of the collection to a compatible one-dimensional array, starting at the specified index of the target array. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Returns a KeyContainerPermissionAccessEntryEnumerator object that can be used to iterate through the objects in the collection. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Index |
Gets the index in the collection of the specified KeyContainerPermissionAccessEntry object, if it exists in the collection. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove(Key |
Removes the specified KeyContainerPermissionAccessEntry object from the collection. |
To |
Returns a string that represents the current object. (Inherited from Object) |
ICollection. |
Copies the elements of the collection to a compatible one-dimensional array, starting at the specified index of the target array. |
IEnumerable. |
Returns a KeyContainerPermissionAccessEntryEnumerator object that can be used to iterate through the objects in the collection. |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Product | Versions (Obsolete) |
---|---|
.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) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: