SPItem.Item property (String)
取得或設定指定的內部名稱的欄位為基礎的項目所需的欄位物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public MustOverride Default Property Item ( _
fieldName As String _
) As Object
Get
Set
'用途
Dim instance As SPItem
Dim fieldName As String
Dim value As Object
value = instance(fieldName)
instance(fieldName) = value
public abstract Object this[
string fieldName
] { get; set; }
參數
fieldName
Type: System.String字串,包含欄位的內部名稱。
Property value
Type: System.Object
object ,表示該欄位。