# IScriptMetadata

Kind: Interface · Namespace: Sansar.Metadata · Assembly: Sansar.Script.dll · Script API 47.10.0

<div class="api-meta">
<span class="api-kind api-kind-interface" data-pagefind-filter="kind:Interface">Interface</span>
<span data-pagefind-filter="namespace:Sansar.Metadata">Namespace <a href="/scripting/api/sansar.metadata"><code>Sansar.Metadata</code></a></span>
</div>

<span id="T:Sansar.Metadata.IScriptMetadata"></span>

Provides information about user scripts.

```csharp
public interface IScriptMetadata
```

## Remarks

internal use only

## Members at a glance

| Kind | Members |
|---|---|
| **Properties** | [Name](#name) · [RegisterReflective](#registerreflective) · [Type](#type) |
| **Methods** | [Create](#create) |

## Properties

### Name

<div class="api-card">
<span id="P:Sansar.Metadata.IScriptMetadata.Name"></span>

```csharp signature
public string Name { get; }
```

The full name of the script class as returned by [`Type.FullName`](https://learn.microsoft.com/dotnet/api/system.type.fullname).

<details class="api-remarks"><summary>Remarks</summary>

internal use only

</details>

</div>

### RegisterReflective

<div class="api-card">
<span id="P:Sansar.Metadata.IScriptMetadata.RegisterReflective"></span>

```csharp signature
public bool RegisterReflective { get; }
```

True if [`RegisterReflectiveAttribute`](/scripting/api/sansar.script/registerreflectiveattribute) is attached to this type.

<details class="api-remarks"><summary>Remarks</summary>

internal use only

</details>

</div>

### Type

<div class="api-card">
<span id="P:Sansar.Metadata.IScriptMetadata.Type"></span>

```csharp signature
public Type Type { get; }
```

The type of the script.

<details class="api-remarks"><summary>Remarks</summary>

internal use only

</details>

</div>


## Methods

### Create

<div class="api-card">
<span id="M:Sansar.Metadata.IScriptMetadata.Create"></span>
<span id="M:Sansar.Metadata.IScriptMetadata.Create()"></span>

```csharp signature
public object Create()
```

Creates a new instance of the script.

**Returns:** [object](https://learn.microsoft.com/dotnet/api/system.object) — The new script

<details class="api-remarks"><summary>Remarks</summary>

internal use only

</details>

</div>




<p class="api-generated" data-pagefind-ignore>Generated from the Sansar 47.10.0 client ScriptApi snapshot.</p>