SqlCeParameterCollection.Insert 方法

SqlCeParameter 插入到集合中的指定索引位置。

命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 system.data.sqlserverce.dll 中)

语法

声明
Public Overrides Sub Insert ( _
    index As Integer, _
    value As Object _
)
用法
Dim instance As SqlCeParameterCollection
Dim index As Integer
Dim value As Object

instance.Insert(index, value)
public override void Insert (
    int index,
    Object value
)
public:
virtual void Insert (
    int index, 
    Object^ value
) override
public void Insert (
    int index, 
    Object value
)
public override function Insert (
    index : int, 
    value : Object
)
不适用。

参数

  • index
    集合中要插入参数的位置的从零开始的索引。

平台

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Windows Vista、Microsoft Windows XP SP2 和 Windows Server 2003 SP1 支持 Microsoft .NET Framework 3.0。

版本信息

.NET Framework

受以下版本支持:3.0

.NET Compact Framework

受以下版本支持:2.0、1.0

请参见

参考

SqlCeParameterCollection 类
SqlCeParameterCollection 成员
System.Data.SqlServerCe 命名空间