FieldChoice constructor
Initializes a new instance of the FieldChoice class with the specified client runtime context and the object path of the client.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
'Usage
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New FieldChoice(context, _
objectPath)
public FieldChoice(
ClientRuntimeContext context,
ObjectPath objectPath
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe ClientRuntimeContext object that represents the runtime context for accessing data from and invoking methods on remote objects.
objectPath
Type: Microsoft.SharePoint.Client.ObjectPathThe ObjectPath object that tracks how a client object is created in the ClientRuntimeContext class, so that the object can be re-created on the server.