Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function IsOfInterest ( _
sourceShapeElement As ShapeElement, _
targetShapeElement As ShapeElement _
) As Boolean
'使用
Dim instance As ConnectionType
Dim sourceShapeElement As ShapeElement
Dim targetShapeElement As ShapeElement
Dim returnValue As Boolean
returnValue = instance.IsOfInterest(sourceShapeElement, _
targetShapeElement)
public virtual bool IsOfInterest(
ShapeElement sourceShapeElement,
ShapeElement targetShapeElement
)
public:
virtual bool IsOfInterest(
ShapeElement^ sourceShapeElement,
ShapeElement^ targetShapeElement
)
public function IsOfInterest(
sourceShapeElement : ShapeElement,
targetShapeElement : ShapeElement
) : boolean
Parameters
- sourceShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.Boolean
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.