Scope.AcceptsElement
public bool AcceptsElement(Experimental.GraphView.GraphElement element,
ref string reasonWhyNotAccepted);
Parameters
| element | The element to add. | |
| reasonWhyNotAccepted | The reason why the specified element cannot be added to the Scope. |
Returns
bool Returns true if the specified element is accepted by the Scope. Returns false otherwise.
Description 描述
Whether the GraphElement can be added to this scope.