ComponentOne Scheduler for WPF and Silverlight
Resource Constructor(Int32)

C1.C1Schedule Namespace > Resource Class > Resource Constructor : Resource Constructor(Int32)
The System.Int32 value which should be used as resource key.
Initializes a new instance of the Resource class with the specified key.
Syntax
'Declaration
 
Public Function New( _
   ByVal key As System.Integer _
)
public Resource( 
   System.int key
)

Parameters

key
The System.Int32 value which should be used as resource key.
Remarks
Use this constructor if your business logic requires setting custom key value. Make sure that you use the correct constructor overload (with integer or Guid key value) and that key value is unique.
See Also

Reference

Resource Class
Resource Members
Overload List