Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. public static object LoadComponent(Uri resourceLocator);
  2. //
  3. // Summary:
  4. // Loads a XAML file that is located at the specified uniform resource identifier
  5. // (URI) and converts it to an instance of the object that is specified by the
  6. // root element of the XAML file.
  7. //
  8. // Parameters:
  9. // component:
  10. // An object of the same type as the root element of the XAML file.
  11. //
  12. // resourceLocator:
  13. // A System.Uri that maps to a relative XAML file.
  14. //
  15. // Exceptions:
  16. // System.ArgumentNullException:
  17. // component is null.
  18. //
  19. // System.ArgumentNullException:
  20. // resourceLocator is null.
  21. //
  22. // System.ArgumentException:
  23. // The System.Uri.OriginalString property of the resourceLocatorSystem.Uri parameter
  24. // is null.
  25. //
  26. // System.ArgumentException:
  27. // The resourceLocator is an absolute URI.
  28. //
  29. // System.Exception:
  30. // component is of a type that does not match the root element of the XAML file.
  31. [SecurityCritical]
  32. public static void LoadComponent(object component, Uri resourceLocator);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement