次の方法で共有


SceneMeshMaterialAttributeMap.Insert(String, SceneAttributeSemantic) メソッド

定義

マップ内の項目を挿入または置換します。

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

パラメーター

key
String

Platform::String

winrt::hstring

挿入する項目に関連付けられているキー。

value
SceneAttributeSemantic

挿入する項目。

戻り値

Boolean

bool

指定したキーを持つ項目が置き換えられた既存の項目である場合は true。それ以外の場合は false

実装

適用対象