Xml.Focus 方法

定义

重写 Focus() 方法。Overrides the Focus() method. Xml 类不支持该方法。This method is not supported by the Xml class.

public:
 override void Focus();
public override void Focus ();
override this.Focus : unit -> unit
Public Overrides Sub Focus ()

例外

尝试调用此方法。An attempt is made to invoke this method.

注解

Focus 方法是从类继承的 Control ,但它不适用于 Xml 类。The Focus method is inherited from the Control class, but it is not applicable to the Xml class. 调用方法的任何尝试都将引发 NotSupportedException 异常。Any attempt to invoke the method throws a NotSupportedException exception.

适用于