←Select platform

InformationCommand Property

Summary
Gets the command associated with the Command Set.
Syntax
C#
Objective-C
C++/CLI
Java
public DicomCommandType InformationCommand { get; } 
@property (nonatomic, assign, readonly) LTDicomCommandType informationCommand; 
public DicomCommandType getInformationCommand() 
public: 
property DicomCommandType InformationCommand { 
   DicomCommandType get(); 
} 

Property Value

The command associated with the Command Set.

Remarks

A Command Set is a special type of Data Set. Therefore, to create a Command Set, create a Data Set by instantiating DicomDataSet, and then initialize it by calling InitializeCommandSet method.

Example
C#
using Leadtools; 
using Leadtools.Dicom; 
 
 
public void TestCommandSet() 
{ 
   //Make sure to initialize the DICOM engine, this needs to be done only once  
   //In the whole application 
   DicomEngine.Startup(); 
   using (DicomDataSet ds = new DicomDataSet()) 
   { 
      ds.InitializeCommandSet(DicomCommandType.CFind, true); 
      Debug.Assert(ds.InformationCommand == DicomCommandType.CFind); 
      Debug.Assert(ds.IsRequestCommand == true); 
      using (DicomDataSet ds1 = new DicomDataSet()) 
      { 
         ds1.Copy(ds, null, null); 
      } 
   } 
   DicomEngine.Shutdown(); 
} 
Requirements

Target Platforms

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

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