Skip to content

SetDataProvider Method

Description

Sets the custom data provider for this resource. The data provider is set using a reference to an existing CalendarDataProvider object.

Syntax

Public Sub SetDataProvider( _
    ByVal DataProvider As CalendarDataProvider, _
    ByVal bCloseDataProviderWhenDestroy As Boolean _
)

Parameters

  • DataProvider: Reference to the custom CalendarDataProvider object.
  • bCloseDataProviderWhenDestroy: True to call the Close method of the data provider when the resource is destroyed.

Remarks

Sets the CalendarDataProvider that will be used for this resource.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.