Inserts a NameValueEntry element into the
IStringStringList at the specified index.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
void Insert( int index, NameValueEntry entry ) |
Visual Basic |
---|
Sub Insert ( index As Integer, entry As NameValueEntry ) |
Parameters
- index
- Type: System..::..Int32
The zero-based index at which entry should be inserted.
- entry
- Type: CodeSmith.CustomProperties..::..NameValueEntry
The NameValueEntry object to insert into the IStringStringList.
Remarks
Please refer to Insert(Int32, Object) for details.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | index is less than zero. -or- index is greater than Count. |
System..::..NotSupportedException | The IStringStringList is read-only. -or- The IStringStringList has a fixed size. |