DefaultInitializer.InitializeDefaults Method (ModelItem)
Initializes default values for the specified item.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Sub InitializeDefaults ( _
item As ModelItem _
)
public virtual void InitializeDefaults(
ModelItem item
)
public:
virtual void InitializeDefaults(
ModelItem^ item
)
abstract InitializeDefaults :
item:ModelItem -> unit
override InitializeDefaults :
item:ModelItem -> unit
public function InitializeDefaults(
item : ModelItem
)
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The item to initialize. This should not be nulla null reference (Nothing in Visual Basic).
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.
See Also
Reference
Microsoft.Windows.Design.Model Namespace