This document is archived and information here might be outdated.  Recommended version.


ISchematicElement.CreateAssociation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IS > ISchematicElement Interface > ISchematicElement.CreateAssociation Method
ArcGIS Developer Help

ISchematicElement.CreateAssociation Method

Create a schematic association.

[Visual Basic .NET]
Public Function CreateAssociation ( _
    ByVal DataSourceID As Integer, _
    ByVal CLSID As Integer, _
    ByVal OID As Integer, _
    ByVal SUBID As Integer, _
    ByVal GUID As String _
) As ISchematicElementAssociation
[C#]
public ISchematicElementAssociation CreateAssociation (
    int DataSourceID,
    int CLSID,
    int OID,
    int SUBID,
    string GUID
);
[C++]
HRESULT CreateAssociation(
  long DataSourceID,
  long CLSID,
  long OID,
  long SUBID,
  BSTR GUID
);
[C++]
Parameters
DataSourceID [in]

DataSourceID is a parameter of type long CLSID [in]
CLSID is a parameter of type long OID [in]
OID is a parameter of type long SUBID [in]
SUBID is a parameter of type long GUID [in]
GUID is a parameter of type BSTR

Product Availability

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

See Also

ISchematicElement Interface