DesignerDataParameter Class

 

Represents a parameter for a stored procedure. This class cannot be inherited.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

System.Object
  System.ComponentModel.Design.Data.DesignerDataParameter

public sealed class DesignerDataParameter

NameDescription
System_CAPS_pubmethodDesignerDataParameter(String, DbType, ParameterDirection)

Initializes a new instance of the DesignerDataParameter class with the specified name, data type, and input/output semantics.

NameDescription
System_CAPS_pubpropertyDataType

Gets the database type of the parameter.

System_CAPS_pubpropertyDirection

Gets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return-value parameter.

System_CAPS_pubpropertyName

Gets the name of the parameter.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The DesignerDataParameter class is one of several types that represent the schema of a data store at design-time. These schema items are made available to controls by designers implementing the IDataEnvironment interface. Controls access schema objects by calling the GetConnectionSchema method of the interface.

The DesignerDataParameter class represents the parameters required to call a stored procedure in the data store. The DesignerDataStoredProcedure.Parameters property contains a collection of DesignerDataParameter objects.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: