Udostępnij za pośrednictwem


DataSourceInformation.GetType(String) Method

Definition

Retrieves the Type value indicating the type of a specified property, thus enabling appropriate conversion of a retrieved value to the correct type.

protected:
 virtual Type ^ GetType(System::String ^ propertyName);
protected virtual Type GetType (string propertyName);
override this.GetType : string -> Type
Protected Overridable Function GetType (propertyName As String) As Type

Parameters

propertyName
String

The name of the property for which to get the type.

Returns

A Type value indicating the type of a specified property.

Exceptions

The propertyName parameter is null.

Applies to