This documentation is archived and is not being maintained.

IWebPartField::GetFieldValue Method

Returns the value of the field that is being used by the interface as the basis of a connection between two WebPart controls.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

void GetFieldValue(
	FieldCallback^ callback
)

Parameters

callback
Type: System.Web.UI.WebControls.WebParts::FieldCallback

A FieldCallback delegate that contains the address of a method that receives the data.

Use this method to retrieve the data field values passed by the interface.

The following code example shows the implementation and use of the GetFieldValue method. The complete example is shown in the class overview for the IWebPartField interface. The provider control implements the GetFieldValue method, returning the value of a particular field in the data table. The consumer control calls the GetFieldValue method in its OnPreRender method, so that the value of the data can be written to the page.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: