CrmTypes.CreateCrmNumber Method
Creates an instance of a Number attribute.
Syntax
[Visual Basic .NET]
Public Shared Function CreateCrmNumber(
ByVal value As Integer
) As CrmNumber
[C#]
public static CrmNumber CreateCrmNumber(
int value
);
[JScript]
public static function CreateCrmNumber(
value : int
) : CrmNumber;
Parameters
value
Specifies the value of the attribute.
Return Value
Returns a CrmNumber type.
Example
[C#]
// Set up the CRM Service.
CrmService service = new CrmService();
service.Credentials = System.Net.CredentialCache.DefaultCredentials;
// Create the Number attribute.
CrmNumber number = CrmSdk.CrmTypes.CreateCrmNumber(10);
See Also