ArcObjects Library Reference (Schematic)  

ISchematicRulesHelper.AlterLink Method

Modify or create a Link.

[Visual Basic .NET]
Public Function AlterLink ( _
    ByVal InMemoryFeatureClass As ISchematicInMemoryFeatureClass, _
    ByVal Name As String, _
    ByVal Object As IObject, _
    ByVal Geometry As IGeometry, _
    ByVal DataSourceID As Integer, _
    ByVal ObjectSubID As Integer, _
    ByVal FromName As String, _
    ByVal ToName As String, _
    ByVal FlowDirection As esriFlowDirection, _
    ByVal FromPort As Integer, _
    ByVal ToPort As Integer _
) As ISchematicInMemoryFeature
[C#]
public ISchematicInMemoryFeature AlterLink (
    ISchematicInMemoryFeatureClass InMemoryFeatureClass,
    string Name,
    IObject Object,
    IGeometry Geometry,
    int DataSourceID,
    int ObjectSubID,
    string FromName,
    string ToName,
    esriFlowDirection FlowDirection,
    int FromPort,
    int ToPort
);
[C++]
HRESULT AlterLink(
  ISchematicInMemoryFeatureClass* InMemoryFeatureClass,
  BSTR Name,
  IObject* Object,
  IGeometry* Geometry,
  long DataSourceID,
  long ObjectSubID,
  BSTR FromName,
  BSTR ToName,
  esriFlowDirection FlowDirection,
  long FromPort,
  long ToPort,
  ISchematicInMemoryFeature** InMemoryFeature
);
[C++]

Parameters

InMemoryFeatureClass [in]

  InMemoryFeatureClass is a parameter of type ISchematicInMemoryFeatureClass

Name [in]   Name is a parameter of type BSTR Object [in]

  Object is a parameter of type IObject

Geometry [in]

  Geometry is a parameter of type IGeometry

DataSourceID [in]   DataSourceID is a parameter of type long ObjectSubID [in]   ObjectSubID is a parameter of type long FromName [in]   FromName is a parameter of type BSTR ToName [in]   ToName is a parameter of type BSTR FlowDirection [in]

  FlowDirection is a parameter of type esriFlowDirection

FromPort [in]   FromPort is a parameter of type long ToPort [in]   ToPort is a parameter of type long InMemoryFeature [out, retval]

  InMemoryFeature is a parameter of type ISchematicInMemoryFeature

Product Availability

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

See Also

ISchematicRulesHelper Interface