DicomObjects.NET.V8
DicomObjects Namespace / DicomAssociation Class / NCreate Method

The requested SOP Class UID

The requested SOP InstanceUID

The attributes to be set, with their values




In This Topic
    NCreate Method
    In This Topic
    Sends an N-CREATE request
    Syntax
    'Declaration
     
    Public Sub NCreate( _
       ByVal SOPClassUID As String, _
       ByVal InstanceUID As String, _
       ByVal DataSet As DicomDataSet _
    ) 
    'Usage
     
    Dim instance As DicomAssociation
    Dim SOPClassUID As String
    Dim InstanceUID As String
    Dim DataSet As DicomDataSet
     
    instance.NCreate(SOPClassUID, InstanceUID, DataSet)
    public void NCreate( 
       string SOPClassUID,
       string InstanceUID,
       DicomDataSet DataSet
    )
    public:
    void NCreate( 
       String^ SOPClassUID,
       String^ InstanceUID,
       DicomDataSet^ DataSet
    ) 

    Parameters

    SOPClassUID

    The requested SOP Class UID

    InstanceUID

    The requested SOP InstanceUID

    DataSet

    The attributes to be set, with their values

    Remarks

    This method sends an N-CREATE request, using the quoted SOP Class and Instance UIDs.

    If appropriate, the SCP may use the values in DataSet to initialise the object.

    If the operation succeeds, then the UID of the object created may be found, once the operation has completed, in the LastInstanceUID property.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also