Description
Creates an anonymous copy of the instance of
a VGT component. The new component is not registered and will not
be persisted nor restored when a scenario is saved or loaded.
Syntax
[Visual Basic .NET] |
Public Function AnonymousDuplicate() As IAgCrdn
|
[C#] |
public IAgCrdn AnonymousDuplicate();
|
[Managed C++] |
public: IAgCrdn^ AnonymousDuplicate();
|
[Java] |
public IAgCrdn anonymousDuplicate();
|
Example
Create an anonymous
duplicate.
[C#] |
Copy Code
|
IAgCrdnPoint point = provider.Points.Factory.Create("OriginalPoint", "description", AgECrdnPointType.eCrdnPointTypeAtTimeInstant);
IAgCrdn anonymousDuplicate = ((IAgCrdn)point).AnonymousDuplicate();
|
|
Create an anonymous
duplicate.
[Visual Basic .NET] |
Copy Code
|
Dim point As
IAgCrdnPoint = provider.Points.Factory.Create("OriginalPoint", "description",
AgECrdnPointType.eCrdnPointTypeAtTimeInstant)
Dim anonymousDuplicate As IAgCrdn = DirectCast(point,
IAgCrdn).AnonymousDuplicate()
|
|
See Also