EntityExtensions.GetAttributeValue Method (Entity, String)
Applies To: Dynamics CRM 2015
Retrieves the value of the attribute.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static object GetAttributeValue(
this Entity entity,
string attributeLogicalName
)
public:
[ExtensionAttribute]
static Object^ GetAttributeValue(
Entity^ entity,
String^ attributeLogicalName
)
static member GetAttributeValue :
entity:Entity *
attributeLogicalName:string -> Object
<ExtensionAttribute>
Public Shared Function GetAttributeValue (
entity As Entity,
attributeLogicalName As String
) As Object
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.Object
Type: Object
The value of the attribute.
Remarks
Extends the core GetAttributeValue<T> method.
See Also
GetAttributeValue Overload
EntityExtensions Class
Microsoft.Xrm.Client Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright