DicomObjects.NET8 Documentation
DicomObjects.UIDs Namespace / UID Class / Parse Method
The String to be parsed - this may be either in name form e.g. "EnhancedCT" or numberic - e.g. "1.2.840.10008.5.1.4.1.1.2.1"
An out parameter which returns the "name" of the returned UID object. If Value is a name, then this will be set to the same string, so its main use is when Value is in numeric form.



In This Topic
    Parse Method
    In This Topic
    Standard parsing routine, which returns a reference to the existing UID object (from any of the classes in DicomObjects.UIDs corresponding to the value passed.
    Syntax
    'Declaration
     
    
    Public Shared Function Parse( _
       ByVal Value As String, _
       ByRef Name As String _
    ) As UID
    'Usage
     
    
    Dim Value As String
    Dim Name As String
    Dim value As UID
     
    value = UID.Parse(Value, Name)
    public static UID Parse( 
       string Value,
       out string Name
    )
    public:
    static UID^ Parse( 
       String^ Value,
       [Out] String^ Name
    ) 

    Parameters

    Value
    The String to be parsed - this may be either in name form e.g. "EnhancedCT" or numberic - e.g. "1.2.840.10008.5.1.4.1.1.2.1"
    Name
    An out parameter which returns the "name" of the returned UID object. If Value is a name, then this will be set to the same string, so its main use is when Value is in numeric form.

    Return Value

    the matching UID value or null if there is no match
    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