ImageHelper.GetImage Method (Object)
Determine the type of image and return it as Image
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Shared Function GetImage ( _
unknownTypeOfImage As Object _
) As Image
public static Image GetImage(
Object unknownTypeOfImage
)
public:
static Image^ GetImage(
Object^ unknownTypeOfImage
)
static member GetImage :
unknownTypeOfImage:Object -> Image
public static function GetImage(
unknownTypeOfImage : Object
) : Image
Parameters
- unknownTypeOfImage
Type: System.Object
Return Value
Type: System.Drawing.Image
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.