SP.FieldChoice(Context, ObjectPath) Constructor
Applies to: SharePoint Foundation 2010
Initializes a new instance of the SP.FieldChoice Class with the specified client runtime context and the object path of the client.
var value = new FieldChoice(Context, ObjectPath);
Parameters
- Context
The SP.ClientRuntimeContext Class object that represents the runtime context for accessing data from and invoking methods on remote objects.
Type: SP.ClientRuntimeContext
- ObjectPath
The SP.ObjectPath Class object that tracks how a client object is created in the SP.ClientRuntimeContext Class class, so that the object can be re-created on the server.
Type: SP.ObjectPath