IClassifierTemplateParameter.AllowSubstitutable 属性

若绑定类型必须为 ConstrainingClassifier 或其专用之一,则为 false。 如果绑定类型可交替更改为一个实现作为 ConstrainingClassifier 指定的接口的类,则为 true。 默认值为 true。

命名空间:  Microsoft.VisualStudio.Uml.AuxiliaryConstructs
程序集:  Microsoft.VisualStudio.Uml.Interfaces(在 Microsoft.VisualStudio.Uml.Interfaces.dll 中)

语法

声明
Property AllowSubstitutable As Boolean
    Get
    Set
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 命名空间