다음을 통해 공유


DataConnectionProperties.ResolveSynonym(String, Boolean) Method

Definition

Attempts to resolves a synonym for the PropertyDescriptor associated with a base property by returning the base property descriptor.

protected:
 System::ComponentModel::PropertyDescriptor ^ ResolveSynonym(System::String ^ name, bool setAsBaseName);
protected System.ComponentModel.PropertyDescriptor ResolveSynonym (string name, bool setAsBaseName);
member this.ResolveSynonym : string * bool -> System.ComponentModel.PropertyDescriptor
Protected Function ResolveSynonym (name As String, setAsBaseName As Boolean) As PropertyDescriptor

Parameters

name
String

The name of a synonym.

setAsBaseName
Boolean

Indicates whether this name should be set as the base name for the property, if found.

Returns

Returns the descriptor of the base property located for the specified synonym.

Exceptions

The name parameter is null.

Applies to