Share via


SliceUpdate.GetAfterColumnKey Property

Gets or sets a delegate, which provides a way to specify where newly added columns are to be placed within the overall collection of columns. During serialization, it will be called with the key of each new column being added, and should return the key of the existing column that should precede the column being inserted.

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

Syntax

'Declaration
Public Property GetAfterColumnKey As Func(Of String, String)
    Get
    Set
'Usage
Dim instance As SliceUpdate
Dim value As Func(Of String, String)

value = instance.GetAfterColumnKey

instance.GetAfterColumnKey = value
public Func<string, string> GetAfterColumnKey { get; set; }

Property Value

Type: System.Func<String, String>
Func<T, TResult> encapsulates a method that specifies the placing of the newly added columns. It takes as input the column key of a new column to be added, and returns the column key of an existing column which will precede the insertion.

Remarks

If GetAfterColumnKey is null, all newly added columns will be placed last, in their pre-existing order. However, if the delegate is not null, but it returns null, the item it returned null will be added to the end.

See Also

Reference

SliceUpdate Class

SliceUpdate Members

Microsoft.SharePoint.JSGrid Namespace