SPContext.GetValueFromPageData method

Retrieves a field value from the page data.

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

Syntax

'Declaration
Public Function GetValueFromPageData ( _
    strKey As String, _
    <OutAttribute> ByRef objValue As Object _
) As Boolean
'Usage
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
)

Parameters

  • objValue
    Type: System.Object

    The value of the field that is stored in the page.

Return value

Type: System.Boolean
true if the value was retrieved from the page data; otherwise, false.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace