Adds a NameValueEntry to the end of the IStringStringList.

Namespace: CodeSmith.CustomProperties
Assembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
int Add(
	NameValueEntry entry
)
Visual Basic
Function Add ( 
	entry As NameValueEntry
) As Integer

Parameters

entry
Type: CodeSmith.CustomProperties..::..NameValueEntry
The NameValueEntry object to be added to the end of the IStringStringList.

Return Value

Type: Int32
The IStringStringList index at which the entry has been added.

Remarks

Please refer to Add(Object) for details.

Exceptions

ExceptionCondition
System..::..NotSupportedException

The IStringStringList is read-only.

-or-

The IStringStringList has a fixed size.

See Also