SP.ClientAction(objectPath, name) Constructor
Applies to: SharePoint Foundation 2010
Initializes a new instance of the SP.ClientAction Class. This member is reserved for internal use and is not intended to be used directly from your code.
var value = new ClientAction(objectPath, name);
Parameters
- 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 transmitted to the server.
Type: SP.ObjectPath
- name
The String object that represents the name of the client action.
Type: String