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