Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OptionSetValueCollection Class

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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.

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

Name Description
OptionSetValueCollection()
OptionSetValueCollection(IList<OptionSetValue>)

Methods

Name Description
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