Partilhar via


SimpleFormWebPart.GetInitEventArgs Method

Overrides the WebPart.GetInitEventArgs method. It specifies an interface whose initialization events should be fired.

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

Syntax

'Declaration
Public Overrides Function GetInitEventArgs ( _
    interfaceName As String _
) As InitEventArgs
'Usage
Dim instance As SimpleFormWebPart
Dim interfaceName As String
Dim returnValue As InitEventArgs

returnValue = instance.GetInitEventArgs(interfaceName)
public override InitEventArgs GetInitEventArgs(
    string interfaceName
)

Parameters

  • interfaceName
    Type: System.String

    Interface whose initialization events should be fired.

Return Value

Type: Microsoft.SharePoint.WebPartPages.Communication.InitEventArgs
A Microsoft.SharePoint.WebPartPages.Communication.InitEventArgs that specifies the column names (the FieldList property) and column captions (the FieldDisplayList property) of the list displayed in this Web Part.

See Also

Reference

SimpleFormWebPart Class

SimpleFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace