Sets a list of strings as synonyms of a specified base property name.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Protected Sub SetSynonyms ( _
baseName As String, _
synonyms As String() _
)
'使用
Dim baseName As String
Dim synonyms As String()
Me.SetSynonyms(baseName, synonyms)
protected void SetSynonyms(
string baseName,
string[] synonyms
)
protected:
void SetSynonyms(
String^ baseName,
array<String^>^ synonyms
)
protected function SetSynonyms(
baseName : String,
synonyms : String[]
)
Parameters
baseName
Type: System.StringName of the base property with which the specified synonyms are associated.
synonyms
Type: []An array of strings representing names that are synonymous with the base property name.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The baseName and/or synonyms parameter is null. |
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionProperties Class
DataConnectionProperties Members