共用方式為


SPFieldLookupValue.LookupValue property

取得 [查詢] 欄位的值做為字串。

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

Syntax

'宣告
Public Overridable Property LookupValue As String
    Get
    Protected Set
'用途
Dim instance As SPFieldLookupValue
Dim value As String

value = instance.LookupValue

instance.LookupValue = value
public virtual string LookupValue { get; protected set; }

Property value

Type: System.String
字串,包含 [查詢] 欄位的值。

請參閱

參照

SPFieldLookupValue class

SPFieldLookupValue members

Microsoft.SharePoint namespace