SPViewFieldCollection.Exists method
傳回布林值,指出指定的檢視欄位是否存在。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function Exists ( _
Name As String _
) As Boolean
'用途
Dim instance As SPViewFieldCollection
Dim Name As String
Dim returnValue As Boolean
returnValue = instance.Exists(Name)
public bool Exists(
string Name
)
參數
Name
Type: System.String字串,包含欄位的名稱。
傳回值
Type: System.Boolean
true如果指定名稱所指定的檢視欄位存在 ;否則, false。