Visual Basic (Declaration) | |
---|---|
Public Overloads Sub AddAssociation( _ ByVal associatedSmartObject As AssociationSmartObject, _ ByVal associatedSmartProperty As SmartPropertyDefinition, _ ByVal mapToProperty As SmartPropertyDefinition, _ ByVal associationDisplayName As String, _ ByVal compositeAssociationName As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SmartObjectDefinition Dim associatedSmartObject As AssociationSmartObject Dim associatedSmartProperty As SmartPropertyDefinition Dim mapToProperty As SmartPropertyDefinition Dim associationDisplayName As String Dim compositeAssociationName As String instance.AddAssociation(associatedSmartObject, associatedSmartProperty, mapToProperty, associationDisplayName, compositeAssociationName) |
C# | |
---|---|
public void AddAssociation( AssociationSmartObject associatedSmartObject, SmartPropertyDefinition associatedSmartProperty, SmartPropertyDefinition mapToProperty, string associationDisplayName, string compositeAssociationName ) |
C++/CLI | |
---|---|
public: void AddAssociation( AssociationSmartObject^ associatedSmartObject, SmartPropertyDefinition^ associatedSmartProperty, SmartPropertyDefinition^ mapToProperty, String^ associationDisplayName, String^ compositeAssociationName ) |
Parameters
- associatedSmartObject
- associatedSmartProperty
- mapToProperty
- associationDisplayName
- compositeAssociationName
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2