Udostępnij za pośrednictwem


Klasa DrillthroughEventArgs

Provides data for the Drillthrough event.

Hierarchia dziedziczenia

Object
  EventArgs
    CancelEventArgs
      Microsoft.Reporting.WebForms.DrillthroughEventArgs

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
<ComVisibleAttribute(False)> _
Public NotInheritable Class DrillthroughEventArgs _
    Inherits CancelEventArgs
[ComVisibleAttribute(false)]
public sealed class DrillthroughEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class DrillthroughEventArgs sealed : public CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type DrillthroughEventArgs =  
    class
        inherit CancelEventArgs
    end
public final class DrillthroughEventArgs extends CancelEventArgs

Typ DrillthroughEventArgs uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna DrillthroughEventArgs Constructs a DrillthroughEventArgs object.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Cancel Pobiera lub ustawia wartość określającą, czy zdarzenie powinno być anulowane. (Odziedziczone z CancelEventArgs).
Właściwość publiczna Report Gets the target report of the drillthrough action.
Właściwość publiczna ReportPath Gets the path of the drillthrough report.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Uwagi

This is passed to the DrillthroughEventHandler delegate when a Drillthrough event occurs.

You can examine the value of the ReportPath property and supply data corresponding to that report.

You can call the GetParameters method of the drillthrough report supplied in the targetReport parameter to examine the values of parameters being passed from the main report to the drillthrough report and to supply data corresponding to the parameter values.

Przykłady

For an example, please see Drillthrough.

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WebForms