Compartilhar via


SizeD Structure

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
<SerializableAttribute> _
Public Structure SizeD
[SerializableAttribute]
public struct SizeD
[SerializableAttribute]
public value class SizeD
[<Sealed>]
[<SerializableAttribute>]
type SizeD =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The SizeD type exposes the following members.

Constructors

  Name Description
Public method SizeD(PointD)
Public method SizeD(SizeD)
Public method SizeD(Double, Double)

Top

Properties

  Name Description
Public property Height
Public property IsEmpty
Public property Width

Top

Methods

  Name Description
Public method Equals (Overrides ValueType.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member ToSizeF
Public method ToString Returns a string formatted like this: Width=width, Height=height (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality
Public operatorStatic member Explicit(SizeD to PointD)
Public operatorStatic member Inequality

Top

Fields

  Name Description
Public fieldStatic member Empty

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace