Condividi tramite


MediaPropertySet.Insert(Guid, Object) Metodo

Definizione

Aggiunge un elemento al set di proprietà.

public:
 virtual bool Insert(Platform::Guid key, Platform::Object ^ value) = IMap<Platform::Guid, Platform::Object ^>::Insert;
bool Insert(winrt::guid const& key, IInspectable const& value);
public bool Insert(Guid key, object value);
function insert(key, value)
Public Function Insert (key As Guid, value As Object) As Boolean

Parametri

key
Guid

Platform::Guid

winrt::guid

Chiave dell'elemento da inserire.

value
Object

Platform::Object

IInspectable

Valore dell'elemento da inserire.

Restituisce

Boolean

bool

True se il metodo ha sostituito un valore già esistente per la chiave; false se si tratta di una nuova chiave.

Implementazioni

Si applica a