Share via


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
Assembly:  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.String

    The String object that represents the script type name of the current client object.

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.

See also

Reference

IScriptTypeFactory interface

IScriptTypeFactory members

Microsoft.SharePoint.Client namespace