Delen via


Extension Constructor

Initializes a new instance of the Extension class.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    localizedName As String, _
    visible As Boolean _
)
'Usage
Dim name As String
Dim localizedName As String
Dim visible As Boolean

Dim instance As New Extension(name, localizedName, _
    visible)
public Extension(
    string name,
    string localizedName,
    bool visible
)
public:
Extension(
    String^ name, 
    String^ localizedName, 
    bool visible
)
new : 
        name:string * 
        localizedName:string * 
        visible:bool -> Extension
public function Extension(
    name : String, 
    localizedName : String, 
    visible : boolean
)

Parameters

  • name
    Type: System.String
    The name of the extension as defined in the configuration file.
  • localizedName
    Type: System.String
    The localized name of the extension to be used for display purposes in a user interface.
  • visible
    Type: System.Boolean
    Indicates whether an extension is visible in a user interface.

Remarks

You should not create a new instance of the Extension class.