次の方法で共有


ComponentTray.SetLocation メソッド

指定したコンポーネントの位置を、指定した位置に設定します。

Public Sub SetLocation( _
   ByVal receiver As IComponent, _   ByVal ___location As Point _)
[C#]
public void SetLocation(IComponentreceiver,Pointlocation);
[C++]
public: void SetLocation(IComponent* receiver,Pointlocation);
[JScript]
public function SetLocation(
   receiver : IComponent,___location : Point);

パラメータ

  • receiver
    位置を設定する対象の IComponent
  • ___location
    指定したコンポーネントの新しい位置を示す Point

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ComponentTray クラス | ComponentTray メンバ | System.Windows.Forms.Design 名前空間