Share via


DataConnectionProperties.GetProperty(String) Method

Definition

Retrieves the descriptor of a property with the specified property name.

protected:
 System::ComponentModel::PropertyDescriptor ^ GetProperty(System::String ^ name);
protected System.ComponentModel.PropertyDescriptor GetProperty (string name);
member this.GetProperty : string -> System.ComponentModel.PropertyDescriptor
Protected Function GetProperty (name As String) As PropertyDescriptor

Parameters

name
String

The name of a property for which to retrieve the descriptor.

Returns

Returns a descriptor of a property with the specified property name, or returns null if no property with the specified name is found.

Exceptions

The name parameter is null.

Applies to