Silverlight SDK for Microsoft Bing
TryLoadResource Method (assemblyType, resourceName)
OverviewSystem.Windows.ControlsResourceControlTryLoadResource(Type, String)
Attempts to load a Xaml resource from an Assembly-based resource
Declaration Syntax
C#Visual BasicVisual C++
public bool TryLoadResource(
	Type assemblyType,
	string resourceName
)
Public Function TryLoadResource ( _
	assemblyType As Type, _
	resourceName As String _
) As Boolean
public:
bool TryLoadResource(
	Type^ assemblyType, 
	String^ resourceName
)
Parameters
assemblyType (Type)
A Type which is housed in the assembly where the desired resource is located
resourceName (String)
The name of the resource, including the namespace
Return Value
A boolean value indicating whether the resource could be loaded or not

Assembly: System.Windows.Controls.Views.Toolkit (Module: System.Windows.Controls.Views.Toolkit) Version: 1.0.0.0 (1.0.0.0)