Metoda Report.EnableNativeCustomReportItem (String)
Konfiguruje model obiektowy renderowania do udostępnienia raportu niestandardowego elementy danego typu.
Przestrzeń nazw: Microsoft.ReportingServices.ReportRendering
Zestaw: Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)
Składnia
'Deklaracja
Public Sub EnableNativeCustomReportItem ( _
type As String _
)
'Użycie
Dim instance As Report
Dim type As String
instance.EnableNativeCustomReportItem(type)
public void EnableNativeCustomReportItem(
string type
)
public:
void EnableNativeCustomReportItem(
String^ type
)
member EnableNativeCustomReportItem :
type:string -> unit
public function EnableNativeCustomReportItem(
type : String
)
Parametry
- type
Typ: System.String
Typ element raportu niestandardowego, aby włączyć.
Uwagi
Jeśli nie jest wywoływana dla określonego typu element raportu niestandardowy element AltReportItem właściwość będą wyświetlane zamiast dowolnej CustomReportItem tego typu.Pomijając element raportu niestandardowy element type parametr (lub udostępniając nullodwołanie o wartości null (Nothing w języku Visual Basic)) spowoduje włączenie wszystkich typów elementów raportu niestandardowego.