GetValueFromPageData Method
Collapse the table of content
Expand the table of content

SPContext.GetValueFromPageData Method

Retrieves a field value from the page data.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

public bool GetValueFromPageData(
	string strKey,
	out Object objValue
)

Parameters

strKey
Type: System.String

The field.

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.
Show:
© 2016 Microsoft