共用方式為


SPFieldCollection constructor

初始化根據指定的網站和結構描述的SPFieldCollection類別的新執行個體。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    web As SPWeb, _
    strXml As String _
)
'用途
Dim web As SPWeb
Dim strXml As String

Dim instance As New SPFieldCollection(web, strXml)
public SPFieldCollection(
    SPWeb web,
    string strXml
)

參數

請參閱

參照

SPFieldCollection class

SPFieldCollection members

Microsoft.SharePoint namespace