CrmServiceClient.GetEntityDisplayName Method (String, Int32)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets an Entity Name by Logical name or Type code.
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public string GetEntityDisplayName(
string entityName,
int entityTypeCode = -1
)
Public Function GetEntityDisplayName (
entityName As String,
entityTypeCode As Integer
) As String
Parameters
entityName
Type: System.Stringlogical name of the entity
entityTypeCode
Type: System.Int32Type code for the entity
Return Value
Type: System.String
Localized name for the entity in the current users language
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright