Add Method
See Also 
SourceCode.Workflow.Authoring Namespace > PlaceHolderCollection Class : Add Method



item
The PlaceHolder to add.

Glossary Item Box

Add the specified PlaceHolder to the collection. This will set the Owner property of the PlaceHolder.

Syntax

Visual Basic (Declaration) 
Public Function Add( _
   ByVal item As PlaceHolder _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As PlaceHolderCollection
Dim item As PlaceHolder
Dim value As Integer
 
value = instance.Add(item)
C# 
public int Add( 
   PlaceHolder item
)
C++/CLI 
public:
int Add( 
   PlaceHolder^ item
) 

Parameters

item
The PlaceHolder to add.

Return Value

The PlaceHolder index at which the PlaceHolder has been added.

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