Nevron .NET Vision
Nevron.Chart.WebForm Namespace / NChartTechnologyFactory Class / Create Method
The type of the technology that determines which class, derived from the NChartClientServerTechnology base class, to use for the new instance.
The web control to associate the new NChartClientServerTechnology object with.


In This Topic
    Create Method (NChartTechnologyFactory)
    In This Topic
    Creates a new instance of a class, derived from the NChartClientServerTechnology base class.
    Syntax
    'Declaration
     
    
    Public Overrides Function Create( _
       ByVal type As WebControlTechnologyType, _
       ByVal webControl As NWebControl _
    ) As NClientServerTechnology
    'Usage
     
    
    Dim instance As NChartTechnologyFactory
    Dim type As WebControlTechnologyType
    Dim webControl As NWebControl
    Dim value As NClientServerTechnology
     
    value = instance.Create(type, webControl)

    Parameters

    type
    The type of the technology that determines which class, derived from the NChartClientServerTechnology base class, to use for the new instance.
    webControl
    The web control to associate the new NChartClientServerTechnology object with.

    Return Value

    A new instance of a either NChartAjaxTechnology or NChartPostbackTechnology clas, depending to the type parameter.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also