ArcObjects Library Reference  (Schematic)    

INgProjectBuilder.CreateBehavior Method

Creates the behavior to respond to the event 'evtName' on the metatype 'metaType' for the object type named 'objectType'.

[Visual Basic 6.0]
Function CreateBehavior(
    ByVal evtName As String, _
    ByVal MetaType As esriNgMetaType, _
    ByVal ObjectType As String _
) As INgBehavior
[Visual Basic .NET]
Public Function CreateBehavior ( _
    ByVal evtName As String, _
    ByVal MetaType As esriNgMetaType, _
    ByVal ObjectType As String _
) As INgBehavior
[C#]
public INgBehavior CreateBehavior (
    string evtName,
    esriNgMetaType MetaType,
    string ObjectType
);
[Java]
public INgBehavior createBehavior (
    String evtName,
    esriNgMetaType MetaType,
    String ObjectType
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CreateBehavior(
  BSTR evtName,
  esriNgMetaType MetaType,
  BSTR ObjectType,
  INgBehavior** pVal
);
[C++]

Parameters

evtName [in]

  evtName is a parameter of type BSTR

MetaType [in]

  MetaType is a parameter of type esriNgMetaType

ObjectType [in]

  ObjectType is a parameter of type BSTR

pVal [out, retval]

  pVal is a parameter of type INgBehavior

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

INgProjectBuilder Interface | INgProjectBuilder.Behaviors Property

Example

esriSchematic INgCommand interface using - Example

 


Feedback Send feedback on this page