SPSimpleItem constructor (SPFieldCollection, String)
初始化具有指定的欄位和它們的值之SPSimpleItem類別的新執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
fieldCollection As SPFieldCollection, _
xmlData As String _
)
'用途
Dim fieldCollection As SPFieldCollection
Dim xmlData As String
Dim instance As New SPSimpleItem(fieldCollection, _
xmlData)
public SPSimpleItem(
SPFieldCollection fieldCollection,
string xmlData
)
參數
fieldCollection
Type: Microsoft.SharePoint.SPFieldCollectionSPSimpleItem物件相關聯欄位。
xmlData
Type: System.String以 XML 格式的欄位值。