User 建構函式
初始化User物件的新執行個體。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
'用途
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New User(context, _
objectPath)
public User(
ClientRuntimeContext context,
ObjectPath objectPath
)
參數
- objectPath
類型:Microsoft.SharePoint.Client.ObjectPath