Freigeben über


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

'Declaration
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: Object

    The object to add.

Return Value

Type: Int32
The location at which the object was added. . This method throws a NotSupportedException.

Implements

IList.Add(Object)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace