Partilhar via


OptionSetValue Class

Definition

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

OptionSetValue()

Initializes a new instance of the OptionSetValue class

OptionSetValue(Int32)

Initializes a new instance of the OptionSetValue class

Properties

ExtensionData

Gets or sets the structure that contains extra data.

Value

Gets or sets the current value.

Methods

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