ImageResources.GetImageFromCRMWebResource Method (String)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
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 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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright