Share via


SP.File(Context, ObjectPath) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.File Class.

var value = new File(Context, ObjectPath);

Parameters

Context

Type: SP.ClientRuntimeContext

ObjectPath

Type: SP.ObjectPath

Applies To

SP.File Class

See Also

Reference

SP.File Methods

SP.File Properties

SP Namespace