DicomObjects.NET.V8
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 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: .NET CLR 3.5 or higher

    See Also