> ## 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/2025-r1/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/2025-r1/lib/VM.Managed.ObjectBase.ConvertKey.md) class.

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

#### Parameters

`key` [ulong](https://learn.microsoft.com/dotnet/api/system.uint64)

The key.

### ConvertKey(UIntPtr)

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

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

#### Parameters

`ptrKey` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

The key.

## Methods

### GetSchema()

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

#### Returns

[XmlSchema](https://learn.microsoft.com/dotnet/api/system.xml.schema.xmlschema)

### ReadXml(XmlReader)

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

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

### ToString()

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

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

### WriteXml(XmlWriter)

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

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.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/2025-r1/lib/VM.Managed.ObjectBase.md).[ConvertKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.ConvertKey.md)

The key.

#### Returns

[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

### implicit operator ConvertKey(UIntPtr)

Cast operator.

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

#### Parameters

`ptrKey` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

The key.

#### Returns

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