Lookup Class (CrmService)
![]() |
[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.
| Constructor | Description |
| Lookup | Initializes 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.
