PointD.Addition Operator
Translates a PointD by adding the given size.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Shared Operator + ( _
point As PointD, _
size As SizeD _
) As PointD
public static PointD operator +(
PointD point,
SizeD size
)
public:
static PointD operator +(
PointD point,
SizeD size
)
static let inline (+)
point:PointD *
size:SizeD : PointD
JScript does not support overloaded operators.
Parameters
- point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
A PointD to add to.
- size
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
A SizeD to add to point
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework Security
- 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.