SPRibbonPostBackCommand.DeserializePostBackEvent method (String, IEnumerable<Type>)

Deserializes a specified SPRibbonPostBackEvent object using the specified known types that may be present in the object graph.

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

Syntax

'Declaration
Public Shared Function DeserializePostBackEvent ( _
    postBackEventArgument As String, _
    knownTypes As IEnumerable(Of Type) _
) As SPRibbonPostBackEvent
'Usage
Dim postBackEventArgument As String
Dim knownTypes As IEnumerable(Of Type)
Dim returnValue As SPRibbonPostBackEvent

returnValue = SPRibbonPostBackCommand.DeserializePostBackEvent(postBackEventArgument, _
    knownTypes)
public static SPRibbonPostBackEvent DeserializePostBackEvent(
    string postBackEventArgument,
    IEnumerable<Type> knownTypes
)

Parameters

  • postBackEventArgument
    Type: System.String

    A string that contains the serialized object.

Return value

Type: Microsoft.SharePoint.WebControls.SPRibbonPostBackEvent
The deserialized object.

See also

Reference

SPRibbonPostBackCommand class

SPRibbonPostBackCommand members

DeserializePostBackEvent overload

Microsoft.SharePoint.WebControls namespace