Nevron Open Vision Documentation
Nevron.Nov Namespace / NUriBase Class / TryCreate Method


In This Topic
    TryCreate Method (NUriBase)
    In This Topic
    Tries to create an URI from the given string.
    Syntax
    'Declaration
     
    
    Public Shared Function TryCreate( _
       ByVal uriString As System.String, _
       ByVal uriKind As ENUriKind, _
       ByRef result As NUriBase _
    ) As System.Boolean
    'Usage
     
    
    Dim uriString As System.String
    Dim uriKind As ENUriKind
    Dim result As NUriBase
    Dim value As System.Boolean
     
    value = NUriBase.TryCreate(uriString, uriKind, result)
    public static System.bool TryCreate( 
       System.string uriString,
       ENUriKind uriKind,
       out NUriBase result
    )

    Parameters

    uriString
    uriKind
    result
    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