PushArgument<T> Method

Summary
Adds an argument into the service.
Syntax
C#
C++/CLI
public void PushArgument<T>( 
   T argument 
) 
public:  
   generic<typename T> 
   void PushArgument( 
      T argument 
   ) 

Parameters

argument
The argument that will be added to the service.

Type Parameters

T
The type of the argument to be added.

Remarks

If an argument of the same type already exists this method will throw an System.ArgumentException.

Before adding an argument you should call the Exists method to make sure that no other argument with the same type exists in the service.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.