共用方式為


ViewCollection 建構函式

初始化ViewCollection物件的新執行個體。

命名空間:  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 ViewCollection(context, _
    objectPath)
public ViewCollection(
    ClientRuntimeContext context,
    ObjectPath objectPath
)

參數

請參閱

參照

ViewCollection 類別

ViewCollection 成員

Microsoft.SharePoint.Client 命名空間