Share via


GridField.AssociateWithLookupTypeInfo method

Associates the current GridField object with the specified LookupTypeInfo object. This method sets the PropertyTypeId property in addition to creating CustomComparer and Localizer properties for this field based on the characteristics of the LookupTypeInfo object.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub AssociateWithLookupTypeInfo ( _
    lookupTypeInfo As LookupTypeInfo _
)
'Usage
Dim instance As GridField
Dim lookupTypeInfo As LookupTypeInfo

instance.AssociateWithLookupTypeInfo(lookupTypeInfo)
public void AssociateWithLookupTypeInfo(
    LookupTypeInfo lookupTypeInfo
)

Parameters

Remarks

This method overwrites any existing CustomComparer or Localizer property value on the current GridField object.

The LookupTypeInfo object represents a property type based on a lookup table.

See also

Reference

GridField class

GridField members

Microsoft.SharePoint.JSGrid namespace