次の方法で共有


NumericUpDown クラス (2007 System)

更新 : 2007 年 11 月

Microsoft Office Word 文書に追加できる、NumericUpDown Windows フォームを表します。

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

構文

'宣言
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class NumericUpDown _
    Inherits NumericUpDown _
    Implements ISupportInitializeExtendedControl
'使用
Dim instance As NumericUpDown
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class NumericUpDown : NumericUpDown, 
    ISupportInitializeExtendedControl

解説

Microsoft.Office.Tools.Word.Controls.NumericUpDown は System.Windows.Forms.NumericUpDown とは異なります。Microsoft.Office.Tools.Word.Controls.NumericUpDown に追加されたメンバを使用することにより、これを Word 文書へ追加したり、メソッドやプロパティをここに追加したりできます。

New コンストラクタは、新しい NumericUpDown を作成する目的で使用しないでください。文書に新しい NumericUpDown を追加する場合は、AddNumericUpDown メソッドを使用してください。

継承階層

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.UpDownBase
              System.Windows.Forms.NumericUpDown
                Microsoft.Office.Tools.Word.Controls.NumericUpDown

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

NumericUpDown メンバ

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