DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / AddToAcceptedTransferSyntaxes Method
The group to add the accepted Transfer Syntax to
The accepted Transfer Syntax to add
Example

In This Topic
    AddToAcceptedTransferSyntaxes Method
    In This Topic
    Add an accepted Transfer Syntax into a group used to help control automatic acceptance of transfer syntaxes
    Syntax
    'Declaration
     
    
    Public Shared Sub AddToAcceptedTransferSyntaxes( _
       ByVal Group As SOPClassGroups, _
       ByVal TransferSyntax As UID _
    ) 
    public static void AddToAcceptedTransferSyntaxes( 
       SOPClassGroups Group,
       UID TransferSyntax
    )

    Parameters

    Group
    The group to add the accepted Transfer Syntax to
    TransferSyntax
    The accepted Transfer Syntax to add
    Remarks

    The groups are pre-populated at initialization, but may be modified by the user

    For direct access to the underlying List of Strings to allow advanced usage see AcceptedTransferSyntaxes

    See Also:

    Example
    SOPClassGroups sOPClassGroups = SOPClassGroups.Images16Bit;
    UID ts = TransferSyntaxes.JPEGLosslessHierarchical28;
    DicomGlobal.AddToAcceptedTransferSyntaxes(sOPClassGroups, ts);
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also