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
- value
Type: System. . :: . .Object
The prefix to add.
Return Value
Type: System. . :: . .Int32
The position of the added value.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.