Edytuj

Udostępnij za pośrednictwem


_Application.UserControl Property

Definition

Determines if the document or application was created or opened by the user.

public:
 property bool UserControl { bool get(); };
public bool UserControl { get; }
member this.UserControl : bool
Public ReadOnly Property UserControl As Boolean

Property Value

Remarks

This property returns True if the document or application was created or opened by the user, and False if the document or application was created or opened programmatically.

If Microsoft Word is visible to the user, or if you call the UserControl property of an Application object from within a Word code module, this property will always return True.

Applies to