SPUserCodeExecutionManager.Deserialize<T> method
Deserializes the specified bytes to an object of type T.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function Deserialize(Of T As Class) ( _
buffer As Byte() _
) As T
'Usage
Dim buffer As Byte()
Dim returnValue As T
returnValue = SPUserCodeExecutionManager.Deserialize(buffer)
public static T Deserialize<T>(
byte[] buffer
)
where T : class
Type parameters
- T
The type of the resulting object.
Parameters
buffer
Type: []The bytes to deserialize.
Return value
Type: T
The deserialized object.
Remarks
This method deserializes the contents of buffer to create an object of the type T. The type T must be a class.
See also
Reference
SPUserCodeExecutionManager class