DVTk API
Add Method (value)
DVTkDvtkData.DimseAttributeSetAdd(Attribute)
DVTk API

[This is preliminary documentation and is subject to change.]

Adds an Attribute to the AttributeSet.
Declaration Syntax
C#Visual BasicVisual C++
public int Add(
	Attribute value
)
Public Function Add ( _
	value As Attribute _
) As Integer
public:
int Add(
	Attribute^ value
)
Parameters
value (Attribute)
The Attribute to add to the AttributeSet.
Return Value
The position into which the new Attribute was inserted.
Examples
This sample shows how to call the AddAttribute method.
CopyC#
AttributeSet attributeSet = new DataSet();
Attribute attribute = new Attribute(0x12345678, VR.AE, "String0", "String1", "String2");
attributeSet.AddAttribute(attribute);

Assembly: DvtkData (Module: DvtkData) Version: 0.0.0.0