ToggleButtonField.GetBitmap Method
Gets a metafile
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Protected Shared Function GetBitmap ( _
resourceName As String _
) As Image
protected static Image GetBitmap(
string resourceName
)
protected:
static Image^ GetBitmap(
String^ resourceName
)
static member GetBitmap :
resourceName:string -> Image
protected static function GetBitmap(
resourceName : String
) : Image
Parameters
- resourceName
Type: System.String
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.