ScriptTypeFactory.CreateObjectFromScriptType Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function CreateObjectFromScriptType ( _
scriptType As String, _
context As ClientRuntimeContext _
) As IFromJson
'Usage
Dim instance As ScriptTypeFactory
Dim scriptType As String
Dim context As ClientRuntimeContext
Dim returnValue As IFromJson
returnValue = instance.CreateObjectFromScriptType(scriptType, _
context)
public IFromJson CreateObjectFromScriptType(
string scriptType,
ClientRuntimeContext context
)
Parameters
- scriptType
Type: System.String
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
Return Value
Type: Microsoft.SharePoint.Client.IFromJson
Returns IFromJson.
Implements
IScriptTypeFactory.CreateObjectFromScriptType(String, ClientRuntimeContext)