| SetDocumentationAdd Method |
Adds an element to the current set and returns a value to indicate if the element was successfully added.
Namespace: XMLCommentsExamples.DocumentationInheritanceAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax public bool Add(
int item
)
Public Function Add (
item As Integer
) As Boolean
public:
virtual bool Add(
int item
) sealed
abstract Add :
item : int -> bool
override Add :
item : int -> bool
Parameters
- item
- Type: SystemInt32
The element to add to the set.
Return Value
Type:
Booleantrue if the element is added to the set; false if the element is already in the set.
Implements
ISetTAdd(T)See Also