แชร์ผ่าน


Report.EnableNativeCustomReportItem Method (String)

Configures the rendering object model to make custom report items of the given type available.

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Sub EnableNativeCustomReportItem ( _
    type As String _
)
'Usage
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
)

Parameters

  • type
    Type: System.String
    The type of custom report item to enable.

Remarks

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 nulla null reference (Nothing in Visual Basic)) will enable all types of custom report items.