ImageResources.GetImageFromCRMWebResource Method (String)
Applies To: Dynamics CRM 2015
Returns BitMap Image Resource from CRM
Namespace: Microsoft.Xrm.Tooling.WebResourceUtility
Assembly: Microsoft.Xrm.Tooling.WebResourceUtility (in Microsoft.Xrm.Tooling.WebResourceUtility.dll)
Syntax
public BitmapImage GetImageFromCRMWebResource(
string webResourceName
)
public:
BitmapImage^ GetImageFromCRMWebResource(
String^ webResourceName
)
member GetImageFromCRMWebResource :
webResourceName:string -> BitmapImage
Public Function GetImageFromCRMWebResource (
webResourceName As String
) As BitmapImage
Parameters
webResourceName
Type: System.StringImage Resource Name requested
Return Value
Type: System.Windows.Media.Imaging.BitmapImage
Returns Null if the Image is not found, or the resource type is not an Image.
See Also
ImageResources Class
Microsoft.Xrm.Tooling.WebResourceUtility Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright