Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static object LoadComponent(Uri resourceLocator);
- //
- // Summary:
- // Loads a XAML file that is located at the specified uniform resource identifier
- // (URI) and converts it to an instance of the object that is specified by the
- // root element of the XAML file.
- //
- // Parameters:
- // component:
- // An object of the same type as the root element of the XAML file.
- //
- // resourceLocator:
- // A System.Uri that maps to a relative XAML file.
- //
- // Exceptions:
- // System.ArgumentNullException:
- // component is null.
- //
- // System.ArgumentNullException:
- // resourceLocator is null.
- //
- // System.ArgumentException:
- // The System.Uri.OriginalString property of the resourceLocatorSystem.Uri parameter
- // is null.
- //
- // System.ArgumentException:
- // The resourceLocator is an absolute URI.
- //
- // System.Exception:
- // component is of a type that does not match the root element of the XAML file.
- [SecurityCritical]
- public static void LoadComponent(object component, Uri resourceLocator);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement