Partager via


Money Class

Definition

Contains the value for a money attribute.

public ref class Money sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="Money", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Money : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="Money", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type Money = class
    interface IExtensibleDataObject
Public NotInheritable Class Money
Implements IExtensibleDataObject
Inheritance
Money
Attributes
Implements

Remarks

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

Constructors

Money()

Initializes a new instance of the Money class.

Money(Decimal)

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

Properties

ExtensionData

Gets or sets the structure that contains extra data.

Value

Gets or sets the value of the attribute.

Methods

Equals(Object)

Determines whether two instances are equal.

GetHashCode()

Returns a hash code value for this type.

Applies to