Share via


RelatedDocDataCollection.Add Method

Adds the specified value to the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Function Add ( _
    value As DocData _
) As Integer
public int Add(
    DocData value
)
public:
int Add(
    DocData^ value
)
member Add : 
        value:DocData -> int
public function Add(
    value : DocData
) : int

Parameters

Return Value

Type: System.Int32
The position in the collection at which the document data was added.

.NET Framework Security

See Also

Reference

RelatedDocDataCollection Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace