DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomDataSet Class / IsPresentationStateFor Method / IsPresentationStateFor(DicomDataSet) Method

The DicomImage to check for its InstanceUID




In This Topic
    IsPresentationStateFor(DicomDataSet) Method
    In This Topic
    Indicates if the PresentationState is for the specified DicomImage
    Syntax
    'Declaration
     
    
    Public Overloads Function IsPresentationStateFor( _
       ByVal dicomDataSet As DicomDataSet _
    ) As Boolean
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim dicomDataSet As DicomDataSet
    Dim value As Boolean
     
    value = instance.IsPresentationStateFor(dicomDataSet)
    public bool IsPresentationStateFor( 
       DicomDataSet dicomDataSet
    )
    public:
    bool IsPresentationStateFor( 
       DicomDataSet^ dicomDataSet
    ) 

    Parameters

    dicomDataSet

    The DicomImage to check for its InstanceUID

    Return Value

    true if the presentation state matches the image
    Remarks
    The Image's InstanceUID is checked against the value specified in the PresentationState's referenced Image SOP Instance UID field. This method returns true if the two values match, otherwise it returns false.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also