共用方式為


ListViewWebPart.GetInitEventArgs method

覆寫WebPart.GetInitEventArgs方法。它會指定應該引發其初始化事件的介面。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides Function GetInitEventArgs ( _
    interfaceName As String _
) As InitEventArgs
'用途
Dim instance As ListViewWebPart
Dim interfaceName As String
Dim returnValue As InitEventArgs

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

參數

  • interfaceName
    Type: System.String

    應該引發其初始化事件的介面。

傳回值

Type: Microsoft.SharePoint.WebPartPages.Communication.InitEventArgs
Microsoft.SharePoint.WebPartPages.Communication.InitEventArgs指定的資料行名稱 ( FieldList屬性) 和此 Web 組件中顯示的清單的欄標題 ( FieldDisplayList屬性)。

請參閱

參照

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace