共用方式為


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

Return Value

Type: System.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