Share via


AttributePrivilegeCollection Class

Definition

Specifies a collection of field level security privileges allowed for the specified attributes.

public ref class AttributePrivilegeCollection sealed : Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::AttributePrivilege ^>
[System.Runtime.Serialization.CollectionDataContract(Name="AttributePrivilegeCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.AttributePrivilege))]
[System.Serializable]
public sealed class AttributePrivilegeCollection : Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.AttributePrivilege>
[<System.Runtime.Serialization.CollectionDataContract(Name="AttributePrivilegeCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.AttributePrivilege))>]
[<System.Serializable>]
type AttributePrivilegeCollection = class
    inherit DataCollection<AttributePrivilege>
Public NotInheritable Class AttributePrivilegeCollection
Inherits DataCollection(Of AttributePrivilege)
Inheritance
AttributePrivilegeCollection
Attributes

Constructors

AttributePrivilegeCollection()

Initializes a new instance of the AttributePrivilegeCollection class.

AttributePrivilegeCollection(IList<AttributePrivilege>)

Initializes a new instance of the AttributePrivilegeCollection class, setting the list property.

Methods

AddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the DataCollection.

(Inherited from DataCollection<T>)
AddRange(T[])

Adds the elements of the specified collection to the end of the DataCollection<T>.

(Inherited from DataCollection<T>)
ToArray()

Copies the elements of the DataCollection<T> to a new array.

(Inherited from DataCollection<T>)

Applies to

See also