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