DataViewPropertyDescriptor.SetPropertyType Method
Sets the property type to the specified type.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaración
Public Sub SetPropertyType ( _
value As Type _
)
public void SetPropertyType(
Type value
)
public:
void SetPropertyType(
Type^ value
)
member SetPropertyType :
value:Type -> unit
public function SetPropertyType(
value : Type
)
Parameters
- value
Type: System.Type
A Type specifying the property type to set.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value parameter is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.