Freigeben über


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
'Usage
Dim instance As RelatedDocDataCollection
Dim value As DocData
Dim returnValue As Integer

returnValue = instance.Add(value)
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

RelatedDocDataCollection Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace