DicomObjects.NET.8.48 Documentation
DicomObjects.DicomUIDs 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.DicomUIDs corresponding to the value passed.
    Syntax
    'Declaration
     
    
    Public Shared Function Parse( _
       ByVal Value As System.String, _
       ByRef Name As System.String _
    ) As UID
    'Usage
     
    
    Dim Value As System.String
    Dim Name As System.String
    Dim value As UID
     
    value = UID.Parse(Value, Name)
    public static UID Parse( 
       System.string Value,
       out System.string Name
    )
    public function Parse( 
        Value: System.String;
       Out  Name: System.String
    ): UID; static; 
    public static function Parse( 
       Value : System.String,
       Name : System.String
    ) : UID;
    public: static UID* Parse( 
       System.string* Value,
       [PARAMFLAG::Out] System.string* Name
    ) 
    public:
    static UID^ Parse( 
       System.String^ Value,
       [Out] System.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: .NET CLR 4.8 or higher

    See Also