Метод EnableNativeCustomReportItem (String)

Настраивает объектную модель для подготовки отчетов таким образом, чтобы сделать доступными пользовательские элементы отчета заданного типа.

Пространство имен:  Microsoft.ReportingServices.ReportRendering
Сборка:  Microsoft.ReportingServices.ProcessingCore (в Microsoft.ReportingServices.ProcessingCore.dll)

Синтаксис

'Декларация
Public Sub EnableNativeCustomReportItem ( _
    type As String _
)
'Применение
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
)

Параметры

  • type
    Тип: System. . :: . .String
    Тип пользовательского элемента отчета, который требуется включить.

Замечания

If not called for a particular type of custom report item, the AltReportItem property will appear in place of any CustomReportItem of that type. Omitting the custom report item type parameter (or providing null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) ) will enable all types of custom report items.