共用方式為


Transaction.IsHidden Property

Gets the transaction and verifies whether the transaction is hidden.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property IsHidden As Boolean
    Get
public bool IsHidden { get; }
public:
property bool IsHidden {
    bool get ();
}
member IsHidden : bool
function get IsHidden () : boolean

Property Value

Type: System.Boolean
true if the transaction is hidden; otherwise, false.

Remarks

If the transaction is hidden, no rules are raised and it will not go on the undo stack. Therefore, it cannot be undone.

.NET Framework Security

See Also

Reference

Transaction Class

Microsoft.VisualStudio.Modeling Namespace