OptionSetValue Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

System.Object
  Microsoft.Xrm.Sdk.OptionSetValue

[DataContractAttribute(Name = "OptionSetValue", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class OptionSetValue : IExtensibleDataObject

NameDescription
System_CAPS_pubmethodOptionSetValue()

Initializes a new instance of the OptionSetValue class

System_CAPS_pubmethodOptionSetValue(Int32)

Initializes a new instance of the OptionSetValue class

NameDescription
System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubpropertyValue

Gets or sets the current value.

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns true if the specified OptionSetValue is equal to this OptionSetValue value, otherwise returns false.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Gets a hash code for the value.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: