Note

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

Access to this page requires authorization. You can try .

OptionSetValue 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.

Represents a value for an attribute that has an option set.

public ref class OptionSetValue sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="OptionSetValue", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class OptionSetValue : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="OptionSetValue", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type OptionSetValue = class
 interface IExtensibleDataObject
Public NotInheritable Class OptionSetValue
Implements IExtensibleDataObject
Inheritance
OptionSetValue
Attributes
Implements

Constructors

Name Description
OptionSetValue()

Initializes a new instance of the OptionSetValue class

OptionSetValue(Int32)

Initializes a new instance of the OptionSetValue class

Properties

Name Description
ExtensionData

Gets or sets the structure that contains extra data.

Value

Gets or sets the current value.

Methods

Name Description
Equals(Object)

Returns true if the specified OptionSetValue is equal to this OptionSetValue value, otherwise returns false.

GetHashCode()

Gets a hash code for the value.

Applies to