SceneMeshMaterialAttributeMap.Insert(String, SceneAttributeSemantic) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts or replaces an item in the map.
public:
virtual bool Insert(Platform::String ^ key, SceneAttributeSemantic value) = IMap<Platform::String ^, SceneAttributeSemantic>::Insert;
bool Insert(winrt::hstring const& key, SceneAttributeSemantic const& value);
public bool Insert(string key, SceneAttributeSemantic value);
function insert(key, value)
Public Function Insert (key As String, value As SceneAttributeSemantic) As Boolean
Parameters
- key
-
String
Platform::String
winrt::hstring
The key associated with the item to insert.
- value
- SceneAttributeSemantic
The item to insert.
Returns
Boolean
bool
true if an item with the specified key is an existing item that was replaced; otherwise, false.