简体   繁体   中英

Frame.Navigate() vs this.Frame.Navigate()

What is the difference between Frame.Navigate() and this.Frame.Navigate() in a Windows 8.1 Store app?

What difference does this

Frame.Navigate(typeof(Login));

have with this?

this.Frame.Navigate(typeof(Login));

There no difference.

The this keyword refers to the current instance of the class and is also used as a modifier of the first parameter of an extension method.

https://msdn.microsoft.com/en-us/library/dk1507sz.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM