Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deserializes the specified bytes to an object of type T.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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