DataConnectionProperties.ResolveSynonym(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.