次の方法で共有


DatabaseConnectionControl.SecondControlInAPair プロパティ

このコントロールが、フォームのコントロール ペアの 2 番目であるかどうか示す値を取得または設定します。

名前空間:  Microsoft.VisualStudio.Data.Schema.Package.UI
アセンブリ:  Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)

構文

'宣言
<BrowsableAttribute(False)> _
Public WriteOnly Property SecondControlInAPair As Boolean
    Set
[BrowsableAttribute(false)]
public bool SecondControlInAPair { set; }
[BrowsableAttribute(false)]
public:
property bool SecondControlInAPair {
    void set (bool value);
}
[<BrowsableAttribute(false)>]
member SecondControlInAPair : bool with get, set
function set SecondControlInAPair (value : boolean)

プロパティ値

型: System.Boolean

解説

このプロパティを設定すると、ボタン上のそのアクセラレータ キーが競合しないように変更します。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

DatabaseConnectionControl クラス

Microsoft.VisualStudio.Data.Schema.Package.UI 名前空間