Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Function Contains ( _
x As Double, _
y As Double _
) As Boolean
'使用
Dim instance As RectangleD
Dim x As Double
Dim y As Double
Dim returnValue As Boolean
returnValue = instance.Contains(x, y)
public bool Contains(
double x,
double y
)
public:
bool Contains(
double x,
double y
)
public function Contains(
x : double,
y : double
) : boolean
Parameters
- x
Type: System.Double
- y
Type: System.Double
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.