Insert Method
See Also 
SourceCode.SmartObjects.Authoring Namespace > SmartObjectDefinitionCollection Class : Insert Method



index
The zero-based index at wich the Item should be inserted.
item
The Item to insert.

Glossary Item Box

Inserts an Item into the collection at the specified index.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub Insert( _
   ByVal index As Integer, _
   ByVal item As SmartObjectDefinition _
) 
Visual Basic (Usage)Copy Code
Dim instance As SmartObjectDefinitionCollection
Dim index As Integer
Dim item As SmartObjectDefinition
 
instance.Insert(index, item)
C# 
public override void Insert( 
   int index,
   SmartObjectDefinition item
)
C++/CLI 
public:
void Insert( 
   int index,
   SmartObjectDefinition^ item
) override 

Parameters

index
The zero-based index at wich the Item should be inserted.
item
The Item to insert.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also