ScriptTypeFactory.CreateObjectFromScriptType method
Namespace: Microsoft.Office.Client.Policy
Assembly: Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.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
Implements
IScriptTypeFactory.CreateObjectFromScriptType(String, ClientRuntimeContext)