> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Struct ObjectBase.ConvertKey

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent the converted Key.

```csharp theme={null}
public struct ObjectBase.ConvertKey
```

## Constructors

### ConvertKey(ulong)

Initializes a new instance of the [ConvertKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.ConvertKey.md) class.

```csharp theme={null}
public ConvertKey(ulong key)
```

#### Parameters

`key` ulong

The key.

### ConvertKey(UIntPtr)

Initializes a new instance of the [ConvertKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.ConvertKey.md) class.

```csharp theme={null}
public ConvertKey(UIntPtr ptrKey)
```

#### Parameters

`ptrKey` UIntPtr

The key.

## Methods

### GetSchema()

```csharp theme={null}
public XmlSchema GetSchema()
```

#### Returns

XmlSchema

### ReadXml(XmlReader)

```csharp theme={null}
public void ReadXml(XmlReader reader)
```

#### Parameters

`reader` XmlReader

### ToString()

```csharp theme={null}
public override sealed string ToString()
```

#### Returns

string

### WriteXml(XmlWriter)

```csharp theme={null}
public void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

## Operators

### implicit operator UIntPtr(ConvertKey)

Cast operator.

```csharp theme={null}
public static implicit operator UIntPtr(ObjectBase.ConvertKey key)
```

#### Parameters

`key` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md).[ConvertKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.ConvertKey.md)

The key.

#### Returns

UIntPtr

### implicit operator ConvertKey(UIntPtr)

Cast operator.

```csharp theme={null}
public static implicit operator ObjectBase.ConvertKey(UIntPtr ptrKey)
```

#### Parameters

`ptrKey` UIntPtr

The key.

#### Returns

[ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md).[ConvertKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.ConvertKey.md)
