AddAssociation(AssociationSmartObject,SmartPropertyDefinition,SmartPropertyDefinition,String) Method
See Also 
SourceCode.SmartObjects.Authoring Namespace > SmartObjectDefinition Class > AddAssociation Method : AddAssociation(AssociationSmartObject,SmartPropertyDefinition,SmartPropertyDefinition,String) Method



associatedSmartObject
associatedSmartProperty
mapToProperty
associationDisplayName

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Sub AddAssociation( _
   ByVal associatedSmartObject As AssociationSmartObject, _
   ByVal associatedSmartProperty As SmartPropertyDefinition, _
   ByVal mapToProperty As SmartPropertyDefinition, _
   ByVal associationDisplayName As String _
) 
Visual Basic (Usage) Copy Code
Dim instance As SmartObjectDefinition
Dim associatedSmartObject As AssociationSmartObject
Dim associatedSmartProperty As SmartPropertyDefinition
Dim mapToProperty As SmartPropertyDefinition
Dim associationDisplayName As String
 
instance.AddAssociation(associatedSmartObject, associatedSmartProperty, mapToProperty, associationDisplayName)

Parameters

associatedSmartObject
associatedSmartProperty
mapToProperty
associationDisplayName

Requirements

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

See Also