ToggleButtonField.GetMetafile 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
'Declaration
Protected Shared Function GetMetafile ( _
resourceName As String _
) As Image
protected static Image GetMetafile(
string resourceName
)
protected:
static Image^ GetMetafile(
String^ resourceName
)
static member GetMetafile :
resourceName:string -> Image
protected static function GetMetafile(
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.