ToolCommandBindingCollection.AddRange Method
Adds the specified bindings to the collection.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub AddRange ( _
bindings As ICollection(Of ToolCommandBinding) _
)
public void AddRange(
ICollection<ToolCommandBinding> bindings
)
public:
void AddRange(
ICollection<ToolCommandBinding^>^ bindings
)
member AddRange :
bindings:ICollection<ToolCommandBinding> -> unit
public function AddRange(
bindings : ICollection<ToolCommandBinding>
)
Parameters
- bindings
Type: System.Collections.Generic.ICollection<ToolCommandBinding>
The bindings to add.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | bindings is nulla null reference (Nothing in Visual Basic). |
.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
ToolCommandBindingCollection Class
Microsoft.Windows.Design.Interaction Namespace