ProxyWebPartManager.Focus 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.
Overrides the base method to prevent the method from being called.
public:
override void Focus();
public override void Focus ();
override this.Focus : unit -> unit
Public Overrides Sub Focus ()
Exceptions
A caller tries to call this method.
Remarks
The Focus method overrides the base method and throws an exception if any caller attempts to call the method. This is because the inherited Control.Focus method is designed for controls with a user interface (UI), but the ProxyWebPartManager control has no UI and therefore has no need to set the focus.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za