CustomSettingsControl.LoadPostData Method
Processes postback data for an ASP.NET server control.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public MustOverride Function LoadPostData ( _
postDataKey As String, _
values As NameValueCollection _
) As Boolean
'Usage
Dim instance As CustomSettingsControl
Dim postDataKey As String
Dim values As NameValueCollection
Dim returnValue As Boolean
returnValue = instance.LoadPostData(postDataKey, _
values)
public abstract bool LoadPostData(
string postDataKey,
NameValueCollection values
)
Parameters
- postDataKey
Type: System.String
The key identifier for the control.
- values
Type: System.Collections.Specialized.NameValueCollection
The collection of all incoming name values.
Return Value
Type: System.Boolean
true if the server control's state changes as a result of the post back; otherwise, false.
Implements
IPostBackDataHandler.LoadPostData(String, NameValueCollection)
Remarks
The ASP.NET page framework tracks all the server controls that return true to this method call, and then invokes the RaisePostDataChangedEvent method on those controls.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace