Add Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a prefix to the list.

Namespace:  Microsoft.SPOT.Net
Assembly:  System.Ftp (in System.Ftp.dll)

Syntax

'Declaration
Public Overrides Function Add ( _
    value As Object _
) As Integer
public override int Add(
    Object value
)
public:
virtual int Add(
    Object^ value
) override
abstract Add : 
        value:Object -> int 
override Add : 
        value:Object -> int 
public override function Add(
    value : Object
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The position of the added value.

Implements

IList. . :: . .Add(Object)

Exceptions

Exception Condition
ArgumentException

The value parameter is null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

-or-

The value parameter does not begin or end with the / character.

.NET Framework Security

See Also

Reference

PrefixList Class

Microsoft.SPOT.Net Namespace