WMFP.SetTag
-----------

Sets the tag string for this player.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WMFP](component_WMFP.md) | [10.0](newinversion100.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WMFP.SetTag"; Player; Value ) 

**MBS**( **"WMFP.SetTag";** /\* Sets the tag string for this player. \*/  
**$Player**; /\* The reference number for the Windows Media Foundation Player object.e.g. $$Player \*/   
**$Value**) /\* The new value.e.g. Get(RecordNumber) \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Player | The reference number for the Windows Media Foundation Player object. | $$Player |
| Value | The new value. | Get(RecordNumber) |

### Result

Returns OK or error.

### Description

Sets the tag string for this player.  
Use the tag to store whatever value you want to associate with the text view. You can later query it using [WMFP.GetTag](WMFPGetTag.md).  
### Examples

Set tag:

 MBS ( "WMFP.SetTag"; $$Player ; "Hello")  
### See also

- [WMFP.GetTag](WMFPGetTag.md)
- [WMFP.SetRate](WMFPSetRate.md)

This function checks for a license.

Created 25th December 2019 , last changed 25th December 2019

  
[WMFP.SetRate](WMFPSetRate.md) - [WMFP.SetVisible](WMFPSetVisible.md)

[HTML Version](WMFPSetTag.shtml)