Nevron Open Vision Documentation
Nevron.Nov Namespace / NUnit Structure / TryGetUnitByAbbreviation Method


In This Topic
    TryGetUnitByAbbreviation Method
    In This Topic
    Tries to get the simple unit with the specified abbreviation.
    Syntax
    'Declaration
     
    
    Public Shared Function TryGetUnitByAbbreviation( _
       ByVal abbreviation As System.String, _
       ByRef unit As NUnit _
    ) As System.Boolean
    'Usage
     
    
    Dim abbreviation As System.String
    Dim unit As NUnit
    Dim value As System.Boolean
     
    value = NUnit.TryGetUnitByAbbreviation(abbreviation, unit)
    public static System.bool TryGetUnitByAbbreviation( 
       System.string abbreviation,
       out NUnit unit
    )

    Parameters

    abbreviation
    unit
    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