ScriptTypeFactory.CreateObjectFromScriptType method
Namespace: Microsoft.Online.SharePoint.Client.TenantAdmin
Assembly: Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.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)