GH_Item

References
[DebuggerDisplay("{DebuggerDisplay}")] public class GH_Item : GH_IBinarySupport, GH_IXmlSupport
Represents a single data item in a chunk.

Constructors

GH_Item

#
public GH_Item(string item_name, Bitmap item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (Bitmap)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, bool item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (bool)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, byte item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (byte)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, byte[] item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (byte[])Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, Color item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (Color)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, DateTime item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (DateTime)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, decimal item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (decimal)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, double item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (double)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, double[] item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (double[])Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, float item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (float)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_BoundingBox item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_BoundingBox)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Interval1D item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Interval1D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Interval2D item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Interval2D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Line item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Line)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Plane item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Plane)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Point2D item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Point2D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Point3D item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Point3D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Point4D item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Point4D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, GH_Version item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (GH_Version)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, Guid item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (Guid)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (int)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, Bitmap item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (Bitmap)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, bool item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (bool)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, byte item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (byte)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, byte[] item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (byte[])Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, Color item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (Color)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, DateTime item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (DateTime)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, decimal item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (decimal)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, double item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (double)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, double[] item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (double[])Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, float item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (float)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_BoundingBox item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_BoundingBox)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Interval1D item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Interval1D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Interval2D item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Interval2D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Line item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Line)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Plane item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Plane)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Point2D item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Point2D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Point3D item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Point3D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Point4D item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Point4D)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, GH_Version item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (GH_Version)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, Guid item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (Guid)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, int item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (int)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, long item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (long)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, Point item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (Point)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, PointF item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (PointF)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, Rectangle item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (Rectangle)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, RectangleF item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (RectangleF)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, Size item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (Size)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, SizeF item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (SizeF)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, int item_index, string item_data)
Construct a new instance of GH_Item with the specified name, index and value.
item_name (string)Name of new item.
item_index (int)Index of new item. Any index less than zero will be clamped to -1.
item_data (string)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, long item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (long)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, Point item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (Point)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, PointF item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (PointF)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, Rectangle item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (Rectangle)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, RectangleF item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (RectangleF)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, Size item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (Size)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, SizeF item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (SizeF)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

GH_Item

#
public GH_Item(string item_name, string item_data)
Construct a new instance of GH_Item with the specified name and value.
item_name (string)Name of new item.
item_data (string)Value of new item.
ArgumentNullExceptionThrown if the specified name string is null or empty.

Properties

_bool

#
public bool _bool { get; }
Returns the internal data of this item cast to a Boolean. If the data is not stored as a Boolean, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_boundingbox

#
public GH_BoundingBox _boundingbox { get; }
Returns the internal data of this item cast to a BoundingBox. If the data is not stored as a BoundingBox, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_byte

#
public byte _byte { get; }
Returns the internal data of this item cast to a Byte. If the data is not stored as a Byte, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_bytearray

#
public byte[] _bytearray { get; }
Returns the internal data of this item cast to a Byte array. If the data is not stored as a Byte array, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_date

#
public DateTime _date { get; }
Returns the internal data of this item cast to a DateTime. If the data is not stored as a DateTime, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_decimal

#
public decimal _decimal { get; }
Returns the internal data of this item cast to a Decimal. If the data is not stored as a Decimal, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_double

#
public double _double { get; }
Returns the internal data of this item cast to a Double. If the data is not stored as a Double, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_doublearray

#
public double[] _doublearray { get; }
Returns the internal data of this item cast to a Byte array. If the data is not stored as a Byte array, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_bitmap

#
public Bitmap _drawing_bitmap { get; }
Returns the internal data of this item cast to a Bitmap. If the data is not stored as a Bitmap, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_color

#
public Color _drawing_color { get; }
Returns the internal data of this item cast to a Color. If the data is not stored as a Color, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_point

#
public Point _drawing_point { get; }
Returns the internal data of this item cast to a Point. If the data is not stored as a Point, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_pointf

#
public PointF _drawing_pointf { get; }
Returns the internal data of this item cast to a PointF. If the data is not stored as a PointF, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_rectangle

#
public Rectangle _drawing_rectangle { get; }
Returns the internal data of this item cast to a Rectangle. If the data is not stored as a Rectangle, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_rectanglef

#
public RectangleF _drawing_rectanglef { get; }
Returns the internal data of this item cast to a RectangleF. If the data is not stored as a RectangleF, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_size

#
public Size _drawing_size { get; }
Returns the internal data of this item cast to a Size. If the data is not stored as a Size, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_drawing_sizef

#
public SizeF _drawing_sizef { get; }
Returns the internal data of this item cast to a SizeF. If the data is not stored as a SizeF, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_guid

#
public Guid _guid { get; }
Returns the internal data of this item cast to a Guid. If the data is not stored as a Guid, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_int32

#
public int _int32 { get; }
Returns the internal data of this item cast to an Int32. If the data is not stored as an Int32, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_int64

#
public long _int64 { get; }
Returns the internal data of this item cast to an Int64. If the data is not stored as an Int64, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_interval1d

#
public GH_Interval1D _interval1d { get; }
Returns the internal data of this item cast to an Interval1D. If the data is not stored as an Interval1D, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_interval2d

#
public GH_Interval2D _interval2d { get; }
Returns the internal data of this item cast to an Interval2D. If the data is not stored as an Interval2D, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_line

#
public GH_Line _line { get; }
Returns the internal data of this item cast to a Line. If the data is not stored as a Line, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_plane

#
public GH_Plane _plane { get; }
Returns the internal data of this item cast to a Plane. If the data is not stored as a Plane, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_point2d

#
public GH_Point2D _point2d { get; }
Returns the internal data of this item cast to a Point2D. If the data is not stored as a Point2D, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_point3d

#
public GH_Point3D _point3d { get; }
Returns the internal data of this item cast to a Point3D. If the data is not stored as a Point3D, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_point4d

#
public GH_Point4D _point4d { get; }
Returns the internal data of this item cast to a Point4D. If the data is not stored as a Point4D, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_single

#
public float _single { get; }
Returns the internal data of this item cast to a Single. If the data is not stored as a Single, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_string

#
public string _string { get; }
Returns the internal data of this item cast to a String. If the data is not stored as a String, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

_version

#
public GH_Version _version { get; }
Returns the internal data of this item cast to a Version. If the data is not stored as a Version, a conversion exception might be thrown.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.

DebuggerDisplay

#
[EditorBrowsable(EditorBrowsableState.Never)] [Browsable(false)] public string DebuggerDisplay { get; }
Readonly property used during Debugging.

HasIndex

#
public bool HasIndex { get; }
Gets the index existence implication. The item is considered to have an index qualifier if the index value is larger than or equal to zero.

HasName

#
public bool HasName { get; }
Gets the name validity of this item. The item is considered to have an invalid name if string.IsNullOrEmpty(name)

HasType

#
public bool HasType { get; }
Gets the type set validity of this item. The item is considered to have a type if type != GH_Types.unset

Index

#
public int Index { get; set; }
Gets or sets the index of an item. Typically, indices are set at construction and do not change. If you change indices after construction, you could corrupt an archive.
Negative indices are clamped to -1.

InternalData

#
public object InternalData { get; }
Retrieves the internal data of this item. No type casting is performed.

Name

#
public string Name { get; set; }
Gets or sets the name of this item. Typically, names are set at construction and do not change. If you change names after construction, you could corrupt an archive.
ArgumentNullExceptionThrown if the new name is null or empty.

Type

#
public GH_Types Type { get; }
Gets the type of this item. Type flags are set during construction and cannot be altered.

Methods

CreateFrom

#
public static GH_Item CreateFrom(BinaryReader reader)
Creates a new instance of GH_Item and sets the fields from a reader object.
reader (BinaryReader)Reader object that defines the field data.
The constructed and read item.

CreateFrom

#
public static GH_Item CreateFrom(XmlNode node)
Creates a new instance of GH_Item and sets the fields from an Xml node object.
node (XmlNode)Xml node object that defines the field data.
The constructed and read item.

Read

#
public void Read(BinaryReader reader)
Deserialize this item from a binary stream.
reader (BinaryReader)Reader to deserialize with.
Read

Read

#
public void Read(XmlNode node)
Deserialize this item from an Xml node.
node (XmlNode)Xml node to serialize from.
Read

ToString

#
public override string ToString()
Converts the struct into a human readable format.
Object.ToString

Write

#
public void Write(BinaryWriter writer)
Serialize this item into a binary stream.
writer (BinaryWriter)Writer to serialize with.
MemberAccessExceptionThrown if !HasName.
MemberAccessExceptionThrown if !HasType.
IOExceptionThrown if the internal data could not be serialized.
Write

Write

#
public void Write(XmlWriter writer)
Serialize this item into an Xml stream.
writer (XmlWriter)Writer to serialize with.
MemberAccessExceptionThrown if !HasName.
MemberAccessExceptionThrown if !HasType.
IOExceptionThrown if the internal data could not be serialized.
Write