Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NCommand Class / FromContext Method
The context to init from.


In This Topic
    FromContext Method
    In This Topic
    Initializes a new NCommand object from a given context.
    Syntax
    'Declaration
     
    
    Public Shared Function FromContext( _
       ByVal context As NCommandContext _
    ) As NCommand
    'Usage
     
    
    Dim context As NCommandContext
    Dim value As NCommand
     
    value = NCommand.FromContext(context)
    public static NCommand FromContext( 
       NCommandContext context
    )

    Parameters

    context
    The context to init from.

    Return Value

    The newly created command.
    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