Duplicates and adds the component, with the supplied name or index, to the collection and then returns the duplicated component.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
public IAgComponentInfo DuplicateComponent( System.Object IndexOrComponentName, string NewComponentName ); |
| [Managed C++] |
|---|
public: IAgComponentInfo^ DuplicateComponent( VARIANT IndexOrComponentName, String __gc ^ NewComponentName ); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public IAgComponentInfo duplicateComponent( AgVariant IndexOrComponentName, String NewComponentName ); |
[Python - STK API ] |
|---|
def DuplicateComponent(self, IndexOrComponentName:typing.Any, NewComponentName:str) -> "IAgComponentInfo": |
- IndexOrComponentName
- NewComponentName






