Compartilhar via


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)
Available in Sandboxed Solutions: No

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