RelatedDocDataCollection.Insert Method
Inserts a document data object into the collection at the specified index.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
value As DocData _
)
public void Insert(
int index,
DocData value
)
public:
void Insert(
int index,
DocData^ value
)
member Insert :
index:int *
value:DocData -> unit
public function Insert(
index : int,
value : DocData
)
Parameters
index
Type: Int32The index at which to insert the object.
value
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocDataThe DocData to be inserted.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.