AGI STK Objects 11 Send comments on this topic.
InstanceName Property (IAgStkObject)
See Also  Example





Description

A name of the object.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property InstanceName() As String

[C#]
public string InstanceName {get; set;}

[Managed C++]
public: __property String __gc ^ get_InstanceName();
public: __property void set_InstanceName(
String __gc ^
);

[Unmanaged C++]
public: HRESULT get_InstanceName(
BSTR * pRetVal
);
public: HRESULT put_InstanceName(
BSTR NewInstanceName
);

[Java]
public String getInstanceName();public void setInstanceName(
String
);

Example

Rename a STK Object
[C#] Copy Code
stkObject.InstanceName = "NewObjectName"
 

Rename a STK Object
[Visual Basic .NET] Copy Code
stkObject.InstanceName = "NewObjectName"

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1