ModelItemEventArgs Constructor
Initializes a new instance of the ModelItemEventArgs class.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
item As ModelItem _
)
public ModelItemEventArgs(
ModelItem item
)
public:
ModelItemEventArgs(
ModelItem^ item
)
new :
item:ModelItem -> ModelItemEventArgs
public function ModelItemEventArgs(
item : ModelItem
)
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem to include.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item 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.