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
value
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocDataThe document data object to be added.
Return Value
Type: Int32
The position in the collection at which the document data was added.
.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.