Compartilhar via


Utility.GetImage Method (String, ImageResources)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Retrieves an image from CRM resources or a URL.

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public static Image GetImage(
    string imagePath,
    ImageResources crmWebResource
)
Public Shared Function GetImage (
    imagePath As String,
    crmWebResource As ImageResources
) As Image

Parameters

  • imagePath
    Type: System.String

    Specifies the URL or the name of the web resource.

Return Value

Type: System.Windows.Controls.Image

Cached version of the image if it exists.

See Also

GetImage Overload
Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright