DataBusDataSource.GetProperty Method

Definition

Retrieves a specific property of the DataBusDataSource class.

Overloads

GetProperty<T>(String)

Retrieves a property of the data source with the specified name.

GetProperty<T>(String, T)

Retrieves a property of the data source with the specified name.

GetProperty<T>(String)

Retrieves a property of the data source with the specified name.

protected:
generic <typename T>
 T GetProperty(System::String ^ propertyName);
protected T GetProperty<T> (string propertyName);
member this.GetProperty : string -> 'T
Protected Function GetProperty(Of T) (propertyName As String) As T

Type Parameters

T

Generic type of the property.

Parameters

propertyName
String

The property name.

Returns

T

The specified name of the property.

Applies to

GetProperty<T>(String, T)

Retrieves a property of the data source with the specified name.

protected:
generic <typename T>
 T GetProperty(System::String ^ propertyName, T defaultValue);
protected T GetProperty<T> (string propertyName, T defaultValue);
member this.GetProperty : string * 'T -> 'T
Protected Function GetProperty(Of T) (propertyName As String, defaultValue As T) As T

Type Parameters

T

The type of a property.

Parameters

propertyName
String

A string that represents the property name.

defaultValue
T

The default value of the property.

Returns

T

An object that represents the default value of the property.

Applies to