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.StringA string that contains the serialized object.
knownTypes
Type: System.Collections.Generic.IEnumerable<Type>An IEnumerable{System.Type} interface that represents the known types.
Return Value
Type: Microsoft.SharePoint.WebControls.SPRibbonPostBackEvent
The deserialized object.
See Also
Reference
SPRibbonPostBackCommand Members