    

 ## On this page

  

 

 # Struct ObjectBase.ConvertKey

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This class is to represent the converted Key.

```csharp
public struct ObjectBase.ConvertKey

```

## Constructors

### ConvertKey(ulong)

Initializes a new instance of the  class.

```csharp
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  class.

```csharp
public ConvertKey(UIntPtr ptrKey)

```

#### Parameters

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

The key.

## Methods

### GetSchema()

```csharp
public XmlSchema GetSchema()

```

#### Returns

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

### ReadXml(XmlReader)

```csharp
public void ReadXml(XmlReader reader)

```

#### Parameters

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

### ToString()

```csharp
public override sealed string ToString()

```

#### Returns

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

### WriteXml(XmlWriter)

```csharp
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
public static implicit operator UIntPtr(ObjectBase.ConvertKey key)

```

#### Parameters

`key` [ObjectBase](VM.Managed.ObjectBase.md).[ConvertKey](VM.Managed.ObjectBase.ConvertKey.md)

The key.

#### Returns

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

### implicit operator ConvertKey(UIntPtr)

Cast operator.

```csharp
public static implicit operator ObjectBase.ConvertKey(UIntPtr ptrKey)

```

#### Parameters

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

The key.

#### Returns

[ObjectBase](VM.Managed.ObjectBase.md).[ConvertKey](VM.Managed.ObjectBase.ConvertKey.md)