Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / NDockManager Class / RegisterService Method
The service type.
True to replace an exisiting service of the specified type, false otherwise.


In This Topic
    RegisterService Method
    In This Topic
    Registers a service which is of the specified type.
    Syntax
    'Declaration
     
    
    Public Overridable Sub RegisterService( _
       ByVal serviceType As System.Type, _
       ByVal overrideExisting As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NDockManager
    Dim serviceType As System.Type
    Dim overrideExisting As System.Boolean
     
    instance.RegisterService(serviceType, overrideExisting)
    public virtual void RegisterService( 
       System.Type serviceType,
       System.bool overrideExisting
    )

    Parameters

    serviceType
    The service type.
    overrideExisting
    True to replace an exisiting service of the specified type, false otherwise.
    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