Jaa


OptionSetValue Class

 

Applies To: Dynamics CRM 2015

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 ref class OptionSetValue sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "OptionSetValue", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type OptionSetValue = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Name := "OptionSetValue", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class OptionSetValue
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod OptionSetValue()

Initializes a new instance of the OptionSetValue class

System_CAPS_pubmethod OptionSetValue(Int32)

Initializes a new instance of the OptionSetValue class

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty Value

Gets or sets the current value.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

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

System_CAPS_pubmethod GetHashCode()

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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

Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright