Dela via


Money Class

 

Applies To: Dynamics CRM 2015

Contains the value for a money attribute.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Money

Syntax

[DataContractAttribute(Name = "Money", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Money : IExtensibleDataObject
[DataContractAttribute(Name = "Money", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public ref class Money sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "Money", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type Money = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Name := "Money", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class Money
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod Money()

Initializes a new instance of the Money class.

System_CAPS_pubmethod Money(Decimal)

Initializes a new instance of the Money class setting the value.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty Value

Gets or sets the value of the attribute.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Determines whether two instances are equal.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

Returns a hash code value for this type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This corresponds to the CrmMoney class from Microsoft Dynamics CRM 4.0.

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