DataConnectionProperties.ResolveProperty(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.
Looks up the specified property in the list of synonyms and optionally makes this property the primary name for the synonyms collection, if it is not already so.
protected:
System::ComponentModel::PropertyDescriptor ^ ResolveProperty(System::String ^ name, bool setAsBaseName);
protected System.ComponentModel.PropertyDescriptor ResolveProperty (string name, bool setAsBaseName);
member this.ResolveProperty : string * bool -> System.ComponentModel.PropertyDescriptor
Protected Function ResolveProperty (name As String, setAsBaseName As Boolean) As PropertyDescriptor
Parameters
- name
- String
The property name of the property to resolve.
- setAsBaseName
- Boolean
A Boolean value indicating whether to make this property the primary name used as a key into the synonyms collection.
Returns
The specified property as a PropertyDescriptor object, if it is found in the synonyms list; otherwise, null.
Exceptions
The name
parameter is null.