Button الفئة
يمثل Windows Forms زر التي يمكن إضافتها إلى ورقة عمل Excel Microsoft المكتب 2010 Suite.
مساحة الاسم: Microsoft.Office.Tools.Excel.Controls
التجميع: Microsoft.Office.Tools.Excel.v4.0.Utilities (في Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
بناء الجملة
'إقرار
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class Button _
Inherits Button
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class Button : Button
ملاحظات
Microsoft.Office.Tools.Excel.Controls.Buttonهو يختلف System.Windows.Forms.Button. Microsoft.Office.Tools.Excel.Controls.Buttonلدى الأعضاء إضافى التي تمكينها لإضافتها إلى ورقة عمل Excel والتي بإعطائه طرق إضافى و خصائص.
لا تستخدم Newconstrucإلىr إلى إنشاء جديد Button. استخدام AddButton()الأسلوب إلى إضافة جديد Buttonإلى ورقة.
التسلسل الهيكلي للإرث
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ButtonBase
System.Windows.Forms.Button
Microsoft.Office.Tools.Excel.Controls.Button
أمان العملية الجزئية
يتم تأمين العملية الجزئية لأي عضو عمومي ثابت (مشترك في Visual Basic) من هذا النوع. لن يتم ضمان تأمين العملية الجزئية لأي عضو مثيل.