| MetadataManagerGetIdNameMap Method |
Get ID/Name Map
Namespace: VIZCore3D.NET.ManagerAssembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax public Dictionary<int, string> GetIdNameMap()
Return Value
DictionaryInt32,
StringMap - Key: ID, Value: Name
Example
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
if (vizcore3d.Model.IsOpen() == false) return;
int count = vizcore3d.Metadata.Count;
Dictionary<int, string> data = vizcore3d.Metadata.GetIdNameMap();
foreach (KeyValuePair<int, string> item in data)
{
int id = item.Key;
string name = item.Value;
byte[] buffer = vizcore3d.Metadata.GetData(id);
}
}
See Also