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.
'Declaration
Public Shared Function Parse( _
ByVal As String, _
ByRef As String _
) As UID
'Usage
Dim Value As String
Dim Name As String
Dim value As UID
value = UID.Parse(Value, 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
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