EntityExtensions.GetFormattedAttributeValue Method (Entity, String)
Applies To: Dynamics CRM 2013
Retrieves a formatted attribute value.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static string GetFormattedAttributeValue(
this Entity entity,
string attributeLogicalName
)
public:
[ExtensionAttribute]
static String^ GetFormattedAttributeValue(
Entity^ entity,
String^ attributeLogicalName
)
static member GetFormattedAttributeValue :
entity:Entity *
attributeLogicalName:string -> string
<ExtensionAttribute>
Public Shared Function GetFormattedAttributeValue (
entity As Entity,
attributeLogicalName As String
) As String
Parameters
entity
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The entity instance.
attributeLogicalName
Type: System.StringType: String. The logical name of the attribute.
Return Value
Type: System.String
Type: String
The formatted attribute value.
Remarks
Extends the core GetFormattedAttributeValue method.
See Also
EntityExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top