PocketPlanner Programmer's Guide

Resource.Tag Property

See Also

Gets or sets custom data associated with the resource.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public Object Tag { get; set; }

Visual Basic

Public Property Tag As Object

 Property Value

An instance of any class derived from System.Object.

 Remarks

Use this property to store your custom data. The tag can be a value from a primitive data type or a complex object from the .NET class library or a class defined by you. If the tag is an instance of a value type, it will be serialized together with the object containing it when saving / loading the schedule. Reference types are serialized if marked with the [Serializable] attribute or if they implement the ISerializable interface.

 See Also