Share via


ViaCollection.Add Method

Appends a via element to the collection.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim via As Via
Dim returnValue As Integer
Dim viaCollection1 As ViaCollection
returnValue = viaCollection1.Add(via)

Syntax

'Declaration
Public Function Add( _
    ByVal via As Via _
) As Integer
public int Add(
    Via via
);
public:
int Add(
    Via^ via
);
public int Add(
    Via via
);
public function Add(
     via : Via
) : int;

Parameters

  • via
    A Via to add to the collection.

Return Value

The position of the added element in the collection.

Remarks

The element is appended to the end of the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

ViaCollection Class
ViaCollection Members
Microsoft.Web.Services3.Referral Namespace