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
)
參數
strKey
Type: System.String欄位。
objValue
Type: System.Object儲存在網頁中的欄位值。
傳回值
Type: System.Boolean
true如果從頁面的資料 ; 擷取值的否則, false。