IMergeElements.CanMerge(ProtoElementBase, ElementGroupPrototype) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Gibt einen Wert zurück, der angibt, ob das Quell Element, das vom angegebenen Stamm-protoelement dargestellt wird, diesem Element hinzugefügt werden kann.
public:
bool CanMerge(Microsoft::VisualStudio::Modeling::ProtoElementBase ^ rootElement, Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public bool CanMerge (Microsoft.VisualStudio.Modeling.ProtoElementBase rootElement, Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
abstract member CanMerge : Microsoft.VisualStudio.Modeling.ProtoElementBase * Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> bool
Public Function CanMerge (rootElement As ProtoElementBase, elementGroupPrototype As ElementGroupPrototype) As Boolean
Parameter
- rootElement
- ProtoElementBase
Das Stamm Element protoelement, das ein Quell Element darstellt. Dieser Wert kann NULL sein. in diesem Fall enthält der Element groupprototype keine protoelements, und der Code sollte die Element groupprototype-Kontextinformationen überprüfen.
- elementGroupPrototype
- ElementGroupPrototype
Der Element groupprototype, der das Stamm Element "protoelement" enthält.
Gibt zurück
true, wenn das durch das protoelement dargestellte Quell Element zu diesem Ziel Element hinzugefügt werden kann.