Export (0) Print
Expand All

Lookup Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Represents an attribute that refers to another entity.

The Lookup class inherits from CrmReference. It exposes the following members.

ConstructorDescription
LookupInitializes a new instance of the Lookup class.

Example

The following sample shows how to set an attribute of type Lookup.

// Set the type property to the name of the entity for the Value property.
Lookup lookup = new Lookup();
lookup.Value = new Guid(strUserId);
lookup.type = EntityName.systemuser.ToString();

Requirements

Web Service: CrmService

See Also

Concepts

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft