다음을 통해 공유


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