IHierarchicalDataSourceDesigner.SuppressDataSourceEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Turns off events in the data source control.
public:
void SuppressDataSourceEvents();
public void SuppressDataSourceEvents ();
abstract member SuppressDataSourceEvents : unit -> unit
Public Sub SuppressDataSourceEvents ()
Remarks
You can restore events with the ResumeDataSourceEvents method.
Notes to Implementers
Typically, you would call the SuppressDataSourceEvents() method when opening a dialog box, such as with the Configure() method, or during a call to the RefreshSchema(Boolean) method, if building the schema requires multiple processes, any of which might create an exception. After processing is finished, call the ResumeDataSourceEvents() method.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για