IScriptTypeFactory.CreateObjectFromScriptType Method
This member is reserved for internal use and is not intended to be used directly from your code. Creates a client object from its specified script type name.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll); Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
Function CreateObjectFromScriptType ( _
scriptTypeName As String, _
context As ClientRuntimeContext _
) As IFromJson
'Usage
Dim instance As IScriptTypeFactory
Dim scriptTypeName As String
Dim context As ClientRuntimeContext
Dim returnValue As IFromJson
returnValue = instance.CreateObjectFromScriptType(scriptTypeName, _
context)
IFromJson CreateObjectFromScriptType(
string scriptTypeName,
ClientRuntimeContext context
)
Parameters
scriptTypeName
Type: System.StringThe String object that represents the script type name of the current client object.
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe ClientRuntimeContext object that represents the current client context.
Return Value
Type: Microsoft.SharePoint.Client.IFromJson
The IFromJson object that is used to initialize the object from the JsonReader object.
Remarks
This interface is implemented by the [ScriptTypeMap] object.