AGI STK Object Broker 11 Send comments on this topic.
PromoteAndLockObject Method (IAgStkBroker)
See Also 
Entity
ObjectType
Windows






Windows & Linux

Description

Promotes the STK representation of an entity to the provided STK object type.

Syntax

[Visual Basic .NET]
Public Function PromoteAndLockObject( _
   ByVal Entity As IAgEntity, _
   ByVal ObjectType As AgESTKObjectType _
) As String

[C#]
public string PromoteAndLockObject(
IAgEntity Entity,
AgESTKObjectType ObjectType
);

[Managed C++]
public: String __gc ^ PromoteAndLockObject(
IAgEntity ^ Entity,
AgESTKObjectType ObjectType
);

[Java]
public String promoteAndLockObject(
IAgEntity Entity,
AgESTKObjectType ObjectType
);

[Unmanaged C++]
public: HRESULT PromoteAndLockObject(
IAgEntity * Entity,
AgESTKObjectType ObjectType,
BSTR * ReturnValue
);

Parameters

Entity
ObjectType

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface