ModelItemCollection.Add Method (Object)
When overridden in a derived class, adds the specified object to the collection.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function Add ( _
value As Object _
) As ModelItem
public abstract ModelItem Add(
Object value
)
public:
virtual ModelItem^ Add(
Object^ value
) abstract
abstract Add :
value:Object -> ModelItem
public abstract function Add(
value : Object
) : ModelItem
Parameters
- value
Type: System.Object
An object to be added to the collection.
Return Value
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem representing the value.
Remarks
This method will create an item for the value.
.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.
See Also
Reference
Microsoft.Windows.Design.Model Namespace