Creates a new DicomConnection automation object
Visual Basic |
---|
Public Function New( _ ByVal Type As String _ ) As Object |
Only the value “DicomConnection” is valid for base objects of type DicomServer. The purpose of using this call, rather than allowing direct creation of DicomConnection objects, is to route ActionComplete events though a limited number of static objects, to which event handlers may easily be attached.
Unlike most other methods and properties in DicomObjects, this method returns a generic “IDispatch” pointer, which in most languages except Visual Basic must be cast to the appropriate known object type.