Share via


ICRMCustomerSearch.GetEntity Method

Definition

Overloads

GetEntity(String, String, String)

Retrieves the entity.

GetEntity(String, String, String, Entity)

Retrieves the entity.

GetEntity(String, String, String)

Retrieves the entity.

public:
 Microsoft::Xrm::Sdk::Entity ^ GetEntity(System::String ^ entity, System::String ^ idname, System::String ^ id);
public Microsoft.Xrm.Sdk.Entity GetEntity (string entity, string idname, string id);
abstract member GetEntity : string * string * string -> Microsoft.Xrm.Sdk.Entity
Public Function GetEntity (entity As String, idname As String, id As String) As Entity

Parameters

entity
String

Specifies the entity to retrieve.

idname
String

Specifies the name.

id
String

Specifies the ID.

Returns

Applies to

GetEntity(String, String, String, Entity)

Retrieves the entity.

public:
 Microsoft::Xrm::Sdk::Entity ^ GetEntity(System::String ^ entity, System::String ^ idname, System::String ^ id, [Runtime::InteropServices::Out] Microsoft::Xrm::Sdk::Entity ^ % searchDefinition);
public Microsoft.Xrm.Sdk.Entity GetEntity (string entity, string idname, string id, out Microsoft.Xrm.Sdk.Entity searchDefinition);
abstract member GetEntity : string * string * string * Entity -> Microsoft.Xrm.Sdk.Entity
Public Function GetEntity (entity As String, idname As String, id As String, ByRef searchDefinition As Entity) As Entity

Parameters

entity
String

Specifies the entity.

idname
String

Specifies the name.

id
String

Specifies the ID.

searchDefinition
Entity

Specifies the search definition.

Returns

Applies to