Silverlight SDK for Microsoft Bing
ResourcePath Class
OverviewSystem.WindowsResourcePath
Implements a simple moniker for locating an Assembly-based resource.
Declaration Syntax
C#Visual BasicVisual C++
public class ResourcePath
Public Class ResourcePath
public ref class ResourcePath
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ResourcePath(Type, String)
Initializes an instance of the ResourcePath object.

ResourcePath(String, String)
Initializes an instance of the ResourcePath object.

ResourcePath()()()
Initializes an instance of the ResourcePath object.

AssemblyName
Gets/Sets the name of the assembly in which the resource resides. Short names are adequate for identification.
Examples
ResourcePath path = new ResourcePath(); path.AssemblyName = "MyCompany.SilverlightTools";

AssemblyType
Gets/Sets the runtime type which identifies the assembly in which the resource resides.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
ResourceId
Gets/Sets the resource identifier for the resource being identified.
Examples
ResourcePath path = new ResourcePath(); path.AssemblyName = "MyCompany.SilverlightTools"; path.ResourceId = "MyCompany.Resources.MyXamlAsset.xaml";

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ResourcePath

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