Partilhar via


OptionSetValueCollection Class

Definition

Contains a collection of OptionSetValue instances.

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

Constructors

OptionSetValueCollection()
OptionSetValueCollection(IList<OptionSetValue>)

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