Delen via


MetadataExtensions.GetEntityDisplayName(ServiceClient, String, Int32) Method

Definition

Gets an Entity Name by Logical name or Type code.

public static string GetEntityDisplayName (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, string entityName, int entityTypeCode = -1);
static member GetEntityDisplayName : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string * int -> string
<Extension()>
Public Function GetEntityDisplayName (serviceClient As ServiceClient, entityName As String, Optional entityTypeCode As Integer = -1) As String

Parameters

serviceClient
ServiceClient

ServiceClient

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