Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Widening Operator CType ( _
value As RectangleF _
) As RectangleD
'使用
Dim input As RectangleF
Dim output As RectangleD
output = CType(input, RectangleD)
public static implicit operator RectangleD (
RectangleF value
)
static implicit operator RectangleD (
RectangleF value
)
JScript does not support the declaration of new casting operators.
Parameters
- value
Type: System.Drawing.RectangleF
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
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.