Share via


RowProviderInitEventArgs Class

The RowProviderInitEventArgs class provides the field names and optional field display names for the row provided by a Web Part that implements the

Visit IRowProvider

interface when the

Visit RowProviderInit

event occurs.

System.Object

   System.EventArgs

      Microsoft.SharePoint.WebPartPages.Communication.InitEventArgs

         Microsoft.SharePoint.WebPartPages.Communication.RowProviderInitEventArgs

Public Constructors

The following table shows the constructors of the RowProviderInitEventArgs class and a brief description of each.

Name Description
RowProviderInitEventArgs Initializes a new instance of the RowProviderInitEventArgs class.

Public Properties

The following table shows the properties of the RowProviderInitEventArgs class and a brief description of each.

Name Description
FieldList A string array that specifies the field names for the provided row.
FieldDisplayList A string array that specifies the optional field display names for the provided row.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Example

The following code example shows an overridden PartCommunicationInit method that creates a RowProviderInitEventArgs object, sets field names and display names, and then fires the RowProviderInit event. This code example is part of a larger example provided for the IRowProvider interface.

Requirements

Namespace: Microsoft.SharePoint.WebPartPages.Communication

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security. In addition, the WebPartPermissions.Connections permission is required to use this member.