# implicit operator PropertyName

> Converts the string passed into a PropertyName. Additional Resources: PropertyName(string).

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## implicit operator PropertyName(PropertyNam)

Converts the `string` passed into a [PropertyName](/engine/6000.7/script-reference/unityengine/propertyname.md). Additional Resources: [PropertyName(string)](/engine/6000.7/script-reference/unityengine/propertyname/ctor.md#propertyname\(string\)).

```csharp
public static implicit operator PropertyName(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                                        | Description |
| --------------------------------------------------------------------------- | ----------- |
| [PropertyName](/engine/6000.7/script-reference/unityengine/propertyname.md) |             |

## implicit operator PropertyName(PropertyNam)

Converts the `int` passed into a [PropertyName](/engine/6000.7/script-reference/unityengine/propertyname.md). This `int` will be used as the internal ID for the converted PropertyName.

```csharp
public static implicit operator PropertyName(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                                        | Description |
| --------------------------------------------------------------------------- | ----------- |
| [PropertyName](/engine/6000.7/script-reference/unityengine/propertyname.md) |             |
