Delete
Overloads
| Name | Description |
|---|---|
| Delete(int id) | Delete Metadata |
| Delete(string name) | Delete Metadata |
Delete(int id)
public bool Delete(int id)
Delete Metadata
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | ID |
Returns
| Type | Description |
|---|---|
| bool | Result |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
if (vizcore3d.Model.IsOpen() == false) return;
// Delete Items
int[] items = new int[] { 4, 5, 6, 10};
foreach (int item in items)
{
if (vizcore3d.Metadata.Exist(item) == false) continue;
vizcore3d.Metadata.Delete(item);
}
}
Delete(string name)
public bool Delete(string name)
Delete Metadata
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | Name |
Returns
| Type | Description |
|---|---|
| bool | Result |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
if (vizcore3d.Model.IsOpen() == false) return;
string name = "H3294_A2231_ASSEMBLY.pdf";
if (vizcore3d.Metadata.Exist(name) == false) return;
vizcore3d.Metadata.Delete(name);
}