Partager via


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

'Declaration
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

Exceptions

Exception Condition
ArgumentNullException

The value parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

Microsoft.VisualStudio.Data.Framework Namespace