Edytuj

Udostępnij za pośrednictwem


ResourceDictionary.BeginInit Method

Definition

Begins the initialization phase for this ResourceDictionary.

public:
 virtual void BeginInit();
public void BeginInit ();
abstract member BeginInit : unit -> unit
override this.BeginInit : unit -> unit
Public Sub BeginInit ()

Implements

Exceptions

Called BeginInit() more than once before EndInit() was called.

Remarks

Calling this method is an indication that the contents of the ResourceDictionary are about to be loaded. The next step in the process is to call EndInit.

Do not call BeginInit more than once, before calling EndInit. Doing so will raise an exception.

Applies to