Share via


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

logical name of the entity

entityTypeCode
Int32

Type code for the entity

Returns

Localized name for the entity in the current users language

Applies to