Version

HasResource Property

Indicates whether this Activity has an organizing Resource.
Syntax
'Declaration
 
Public ReadOnly Property HasResource As Boolean
public bool HasResource {get;}

Property Value

True if the Activity has an organizing Resource; otherwise False if it has no Resource (it was associated with the UnassignedResource instance) or no resources have been loaded.
Remarks

The HasResource property will notably return False if checked prior to DataBind being called on ScheduleInfo. This may be a false indication, but the Resource can only be made available after the VisibleResources collection has been populated.

Resource property
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also