共用方式為


IClassifierTemplateParameter.AllowSubstitutable 屬性

如果細節類型必須為 ConstrainingClassifier 或其特製化之一,則為 false。如果繫結型別也可以是實現指定為 ConstrainingClassifier 之介面的類別,則為 true。預設值 = True。

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

語法

'宣告
Property AllowSubstitutable As Boolean
bool AllowSubstitutable { get; set; }
property bool AllowSubstitutable {
    bool get ();
    void set (bool value);
}
abstract AllowSubstitutable : bool with get, set
function get AllowSubstitutable () : boolean
function set AllowSubstitutable (value : boolean)

屬性值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

IClassifierTemplateParameter 介面

Microsoft.VisualStudio.Uml.AuxiliaryConstructs 命名空間