Udostępnij za pośrednictwem


DomainUpDown Class (2007 System)

Represents a Windows Forms DomainUpDown that can be added to a Microsoft Office Word document.

Namespace:  Microsoft.Office.Tools.Word.Controls
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class DomainUpDown _
    Inherits DomainUpDown _
    Implements ISupportInitializeExtendedControl
'Usage
Dim instance As DomainUpDown
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class DomainUpDown : DomainUpDown, 
    ISupportInitializeExtendedControl
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class DomainUpDown : public DomainUpDown, 
    ISupportInitializeExtendedControl
public class DomainUpDown extends DomainUpDown implements ISupportInitializeExtendedControl

Remarks

The Microsoft.Office.Tools.Word.Controls.DomainUpDown is different from a System.Windows.Forms.DomainUpDown. The Microsoft.Office.Tools.Word.Controls.DomainUpDown has additional members that enable it to be added to a Word document and that give it additional methods and properties.

Do not use the New constructor to create a new DomainUpDown. Use the AddDomainUpDown method to add a new DomainUpDown to a document.

Inheritance Hierarchy

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.DomainUpDown
                Microsoft.Office.Tools.Word.Controls.DomainUpDown

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DomainUpDown Members

Microsoft.Office.Tools.Word.Controls Namespace