共用方式為


IInteractionConstraint.GuardText 屬性

決定是否可以繼續相互作用的布林運算式。 例如,"True" 或""Amount > 1000""。

命名空間:  Microsoft.VisualStudio.Uml.Interactions
組件:  Microsoft.VisualStudio.Uml.Interfaces (在 Microsoft.VisualStudio.Uml.Interfaces.dll 中)

語法

'宣告
Property GuardText As String
string GuardText { get; set; }
property String^ GuardText {
    String^ get ();
    void set (String^ value);
}
abstract GuardText : string with get, set
function get GuardText () : String 
function set GuardText (value : String)

屬性值

類型:String

.NET Framework 安全性

請參閱

參考

IInteractionConstraint 介面

Microsoft.VisualStudio.Uml.Interactions 命名空間