共用方式為


SPContext.GetValueFromPageData method

從頁面資料擷取欄位值。

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

Syntax

'宣告
Public Function GetValueFromPageData ( _
    strKey As String, _
    <OutAttribute> ByRef objValue As Object _
) As Boolean
'用途
Dim instance As SPContext
Dim strKey As String
Dim objValue As Object
Dim returnValue As Boolean

returnValue = instance.GetValueFromPageData(strKey, _
    objValue)
public bool GetValueFromPageData(
    string strKey,
    out Object objValue
)

參數

傳回值

Type: System.Boolean
true如果從頁面的資料 ; 擷取值的否則, false。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace