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





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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1