共用方式為


DataConnectionProperties.SetSynonyms(String, String[]) Method

Definition

Sets a list of strings as synonyms of a specified base property name.

protected:
 void SetSynonyms(System::String ^ baseName, cli::array <System::String ^> ^ synonyms);
protected void SetSynonyms (string baseName, string[] synonyms);
member this.SetSynonyms : string * string[] -> unit
Protected Sub SetSynonyms (baseName As String, synonyms As String())

Parameters

baseName
String

Name of the base property with which the specified synonyms are associated.

synonyms
String[]

An array of strings representing names that are synonymous with the base property name.

Exceptions

The baseName and/or synonyms parameter is null.

Applies to