Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NScreen Class / GetScreenById Method


In This Topic
    GetScreenById Method
    In This Topic
    Gets a screen by id. Returns null, if the screen is not found. You can use the negative NScreen.PrimaryScreenId and NScreen.FocusScreenId to dynamically identify the primary and focus screens.
    Syntax
    'Declaration
     
    
    Public Shared Function GetScreenById( _
       ByVal id As System.Integer _
    ) As NScreen
    'Usage
     
    
    Dim id As System.Integer
    Dim value As NScreen
     
    value = NScreen.GetScreenById(id)
    public static NScreen GetScreenById( 
       System.int id
    )

    Parameters

    id
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also