DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Modality Property






In This Topic
    Modality Property (DicomImage)
    In This Topic
    The Modality of the image
    Syntax
    'Declaration
     
    
    Public Property Modality As System.String
    'Usage
     
    
    Dim instance As DicomImage
    Dim value As System.String
     
    instance.Modality = value
     
    value = instance.Modality
    public System.string Modality {get; set;}
    public read-write property Modality: System.String; 
    public function get,set Modality : System.String
    public: __property System.string* get_Modality();
    public: __property void set_Modality( 
       System.string* value
    );
    public:
    property System.String^ Modality {
       System.String^ get();
       void set (    System.String^ value);
    }

    Property Value

    The Modality of the image
    Remarks

    A shortcut for Modality (0008,0060).

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also