Compartilhar via


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: Int32

    The index at which to insert the object.

.NET Framework Security

See Also

Reference

RelatedDocDataCollection Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace