ObjectParameter::ParameterType Property

 

Gets the parameter type.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
property Type^ ParameterType {
	Type^ get();
}

Property Value

Type: System::Type^

The Type of the parameter.

The parameter type can only be set through a constructor.

The example in this topic is based on the AdventureWorks Sales Model. The example adds new parameters to the collection. It iterates through the ObjectParameterCollection and displays the name, type, and value of each parameter in the collection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: