OptionSetValue Class
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)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.OptionSetValue
Syntax
[DataContractAttribute(Name = "OptionSetValue", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class OptionSetValue : IExtensibleDataObject
<DataContractAttribute(Name := "OptionSetValue", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class OptionSetValue
Implements IExtensibleDataObject
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.(Overrides Object.Equals(Object).) |
|
GetHashCode() | Gets a hash code for the value.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright