# MetaDataExtensions.WithoutReferenceId examples

Examples for [WithoutReferenceId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.meta.metadataextensions/withoutreferenceid.md) in Grasshopper2.Data.Meta.MetaDataExtensions.

## C#

```cs
using Grasshopper2.Data.Meta;

// As an extension method
MetaData result = data.WithoutReferenceId(retainUnderAlternate);

// As a static method
result = MetaDataExtensions.WithoutReferenceId(data, retainUnderAlternate);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Data.Meta
clr.ImportExtensions(Grasshopper2.Data.Meta)

# As an extension method
result = data.WithoutReferenceId(retain_under_alternate)

# As a static method
result = Grasshopper2.Data.Meta.MetaDataExtensions.WithoutReferenceId(data, retain_under_alternate)
```
