共用方式為


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
)

參數

傳回值

Type: System.Boolean
true如果指定名稱所指定的檢視欄位存在 ;否則, false。

請參閱

參照

SPViewFieldCollection class

SPViewFieldCollection members

Microsoft.SharePoint namespace