共用方式為


SqlCeParameterCollection Members

Collects all parameters relevant to a SqlCeCommand as well as their respective mappings to DataSet columns.

The following tables list the members exposed by the SqlCeParameterCollection type.

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Count Overridden. Gets the number of SqlCeParameter objects in the collection.
Public property Supported by the .NET Compact Framework IsFixedSize Overridden.  
Public property Supported by the .NET Compact Framework IsReadOnly Overridden.  
Public property Supported by the .NET Compact Framework IsSynchronized Overridden.  
Public property Supported by the .NET Compact Framework Item Overloaded. Gets or sets the SqlCeParameter with a specified attribute.
Public property Supported by the .NET Compact Framework SyncRoot Overridden.  

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Add Overloaded. Overridden. Adds a SqlCeParameter to the SqlCeCommand.
Public method Supported by the .NET Compact Framework AddRange Overridden. Adds an array of SqlCeParameter objects to SqlCeParameterCollection.
Public method Supported by the .NET Compact Framework AddWithValue Adds a new SqlCeParameter to the SqlCeParameterCollection and sets its value.
Public method Supported by the .NET Compact Framework Clear Overridden. Removes all items from the collection.
Public method Supported by the .NET Compact Framework Contains Overloaded. Overridden. Indicates whether a SqlCeParameter exists in the collection.
Public method Supported by the .NET Compact Framework CopyTo Overridden. Copies SqlCeParameter objects from the SqlCeParameterCollection to the specified array.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetEnumerator Overridden.  
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework IndexOf Overloaded. Overridden. Gets the location of the SqlCeParameter in the collection.
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Insert Overridden. Inserts a SqlCeParameter in the collection at the specified index.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Overridden. Removes the specified SqlCeParameter from the collection.
Public method Supported by the .NET Compact Framework RemoveAt Overloaded. Overridden. Removes the specified SqlCeParameter from the collection.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework GetParameter  Overloaded. Gets the DbParameter with the specified property value. (inherited from DbParameterCollection)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method Supported by the .NET Compact Framework SetParameter  Overloaded. Sets the specified parameter to the specified value. (inherited from DbParameterCollection)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsReadOnly  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Data.IDataParameterCollection.Item  

Top

See Also

Reference

SqlCeParameterCollection Class
System.Data.SqlServerCe Namespace