WindowsML.Clear
---------------

Clears the properties for this model.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsML](component_WindowsML.md) | [10.5](newinversion105.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WindowsML.Clear"; WinMLRef { ; SetDefaults } ) 

**MBS**( **"WindowsML.Clear";** /\* Clears the properties for this model. \*/  
**$WinMLRef**; /\* The reference number to the model.e.g. $Model \*/   
**$SetDefaults**) /\* Optional; Pass 1 to fill required parameters with empty values.  
Pass 0 to clear all. \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WinMLRef | The reference number to the model. | $Model |  |
| SetDefaults | Pass 1 to fill required parameters with empty values.   Pass 0 to clear all. |  | Optional |

### Result

Returns OK or error.

### Description

Clears the properties for this model.  
### See also

- [WindowsML.Open](WindowsMLOpen.md)
- [WindowsML.Release](WindowsMLRelease.md)

This function checks for a license.

Created 26th September 2020 , last changed 9th November 2021

  
[WindowsML.BindUInt8](WindowsMLBindUInt8.md) - [WindowsML.Description](WindowsMLDescription.md)

[HTML Version](WindowsMLClear.shtml)