This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IS > ISchematicElement Interface > ISchematicElement.CreateAssociation Method (ArcObjects .NET 10.5 SDK) |
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,
ISchematicElementAssociation** SchematicElementAssociation
);
[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 SchematicElementAssociation [out, retval]
SchematicElementAssociation is a parameter of type ISchematicElementAssociation