EntityReference Constructor (String, String, Object)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the EntityReference class.
This constructor was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public EntityReference(
string logicalName,
string keyName,
object keyValue
)
Public Sub New (
logicalName As String,
keyName As String,
keyValue As Object
)
Parameters
logicalName
Type: System.StringSpecifies the entity logical name.
keyName
Type: System.StringSpecifies the key name.
keyValue
Type: System.ObjectSpecifies the key value.
Remarks
This constructor was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions.
See Also
EntityReference Overload
EntityReference Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright