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 As System.String, _
ByRef 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 ,
out System.string
)
public function Parse(
: System.String;
Out : System.String
): UID; static;
public static function Parse(
: System.String,
: System.String
) : UID;
public: static UID* Parse(
System.string* ,
[PARAMFLAG::Out] System.string*
)
public:
static UID^ Parse(
System.String^ ,
[Out] System.String^
)
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