# DuplicateAs Method

## Overloads

| [DuplicateAs(String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DuplicateAs.htm#Qlik_Engine_GenericObject_DuplicateAs_System_String_System_String_) |  | DuplicateAs |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DuplicateAs.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DuplicateAs.htm)

## DuplicateAs(String, String)

DuplicateAs

### Declaration

```

          public void DuplicateAs(string id, string asType)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | Id of the object to duplicate as |
| System.String | asType | The type to duplicate as |