CrmServiceClient.GetEntityDisplayName Method (String, Int32)

 

Applies To: Dynamics CRM 2015

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:
String^ GetEntityDisplayName(
    String^ entityName,
    int entityTypeCode = -1
)
member GetEntityDisplayName : 
        entityName:string *
        entityTypeCode:int = -1 -> string
Public Function GetEntityDisplayName (
    entityName As String,
    entityTypeCode As Integer
) As String

Parameters

  • entityTypeCode
    Type: System.Int32

    Type 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

© 2016 Microsoft. All rights reserved. Copyright