NormalizedSnapshotSpanCollection.IList.Add Method
Adds an object to the list. This method throws a NotSupportedException.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣言
Private Function Add ( _
value As Object _
) As Integer Implements IList.Add
int IList.Add(
Object value
)
private:
virtual int Add(
Object^ value
) sealed = IList::Add
private abstract Add :
value:Object -> int
private override Add :
value:Object -> int
JScript does not support explicit interface implementations.
Parameters
- value
Type: System.Object
The object to add.
Return Value
Type: System.Int32
The location at which the object was added. . This method throws a NotSupportedException.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.