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

# .NET: RemoveDataObjectToKeyModel

> Signatures, models and behavior for SKM.V3.Models.RemoveDataObjectToKeyModel in the .NET SDK 4.0.54.

Used to remove a data object.

**Namespace:** `SKM.V3.Models`\
**Version:** 4.0.54. Both packages; all six documented target frameworks.

```csharp C# theme={null}
public class RemoveDataObjectToKeyModel : KeyLockModel
```

```vb VB.NET theme={null}
Public Class RemoveDataObjectToKeyModel Inherits KeyLockModel
```

**Used By:** [`RemoveDataObject(string, RemoveDataObjectToKeyModel)`](/libraries/dotnet-reference/methods/data#remove-data-object-f3e248d03b)

[Web API Reference](/api-reference/generated/RemoveDataObject)

## Inherited SDK Members

* [`Key`](/libraries/dotnet-reference/models/key-lock-model#key-b5e79d9337)
* [`ProductId`](/libraries/dotnet-reference/models/key-lock-model#product-id-ce0f5d422f)
* [`LicenseServerUrl`](/libraries/dotnet-reference/models/request-model#license-server-url-67581aa5cb)

## Properties

### Id

The unique object id for the data object. If you set the Name parameter, you can skip the Id parameter.

```csharp C# theme={null}
public long Id { get; set; }
```

```vb VB.NET theme={null}
Public Property Id As Long
```

**Type:** `long`

### Name

The name of the data object (assuming there are no duplicates).

```csharp C# theme={null}
public string Name { get; set; }
```

```vb VB.NET theme={null}
Public Property Name As String
```

**Type:** `string`

## Constructors

### RemoveDataObjectToKeyModel()

Creates an empty RemoveDataObjectToKeyModel object. This constructor does not send an API request.

```csharp C# theme={null}
public RemoveDataObjectToKeyModel()
```

```vb VB.NET theme={null}
Public Sub New()
```

[.NET SDK Reference](/libraries/dotnet-api) · [Reviewed Source Revision](https://github.com/Cryptolens/cryptolens-dotnet/tree/30aaf399ba53d9a111bee896c35bf557fa219394)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.