Udostępnij za pośrednictwem


OLEObject.AutoUpdate Property (2007 System)

Gets or sets a value that indicates whether the OLEObject is updated automatically when the source changes.

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

Syntax

'Declaration
Public Property AutoUpdate As Boolean
'Usage
Dim instance As OLEObject 
Dim value As Boolean 

value = instance.AutoUpdate

instance.AutoUpdate = value
public bool AutoUpdate { get; set; }
public:
property bool AutoUpdate {
    bool get ();
    void set (bool value);
}
public function get AutoUpdate () : boolean 
public function set AutoUpdate (value : boolean)

Property Value

Type: System.Boolean
true if the OLEObject is updated automatically when the source changes; otherwise, false.

Remarks

This property is valid only if the object is linked (its OLEType property must be xlOLELink).

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace