CrmServiceClient.GetEntityDisplayName(String, Int32) CrmServiceClient.GetEntityDisplayName(String, Int32) CrmServiceClient.GetEntityDisplayName(String, Int32) Method

Definition

Gets an Entity Name by Logical name or Type code.

public string GetEntityDisplayName (string entityName, int entityTypeCode = -1);
member this.GetEntityDisplayName : string * int -> string
Public Function GetEntityDisplayName (entityName As String, Optional entityTypeCode As Integer = -1) As String

Parameters

entityName
String String String

logical name of the entity

entityTypeCode
Int32 Int32 Int32

Type code for the entity

Returns

Localized name for the entity in the current users language

Remarks

Applies to