TypeExtensions.GetEntityLogicalName Method (Type)
Applies To: Dynamics CRM 2013
Returns the logical name value of the EntityLogicalNameAttribute attribute associated to the class type.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static string GetEntityLogicalName(
this Type type
)
public:
[ExtensionAttribute]
static String^ GetEntityLogicalName(
Type^ type
)
static member GetEntityLogicalName :
type:Type -> string
<ExtensionAttribute>
Public Shared Function GetEntityLogicalName (
type As Type
) As String
Parameters
type
Type: System.TypeThe type.
Return Value
Type: System.String
Type: String
The logical name of the attribute found.
See Also
TypeExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top