ImmutabilityExtensionMethods.CanDelete(ModelElement, Guid[]) 方法

定義

從模型中刪除元素。Deletes the element from the model.

public:
[System::Runtime::CompilerServices::Extension]
 static bool CanDelete(Microsoft::VisualStudio::Modeling::ModelElement ^ element, ... cli::array <Guid> ^ domainRolesToNotPropagate);
public static bool CanDelete (this Microsoft.VisualStudio.Modeling.ModelElement element, params Guid[] domainRolesToNotPropagate);
static member CanDelete : Microsoft.VisualStudio.Modeling.ModelElement * Guid[] -> bool
<Extension()>
Public Function CanDelete (element As ModelElement, ParamArray domainRolesToNotPropagate As Guid()) As Boolean

參數

element
ModelElement
domainRolesToNotPropagate
Guid[]

網域角色識別碼-s 的清單,不應傳播刪除。A list of domain role ID-s through which delete should not be propagated.

傳回

Boolean

適用於