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