次の方法で共有


DataGridView.SetBounds メソッド (Int32, Int32, Int32, Int32)

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

名前空間:  Microsoft.Office.Tools.Excel.Controls
アセンブリ:  Microsoft.Office.Tools.Excel.v4.0.Utilities (Microsoft.Office.Tools.Excel.v4.0.Utilities.dll 内)

構文

'宣言
Public Overridable Sub SetBounds ( _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer _
)
public virtual void SetBounds(
    int x,
    int y,
    int width,
    int height
)

パラメーター

.NET Framework セキュリティ

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

参照

関連項目

DataGridView クラス

SetBounds オーバーロード

Microsoft.Office.Tools.Excel.Controls 名前空間