Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Lookup Class (CrmService)
Collapse the table of content
Expand the table of content

Lookup Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents an attribute that refers to another entity.

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

LookupInitializes a new instance of the Lookup class.


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();


Web Service: CrmService

See Also



© 2010 Microsoft Corporation. All rights reserved.

© 2015 Microsoft