Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets an image from a resource
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Function GetImage ( _
type As Type, _
resourceName As String _
) As Image
public static Image GetImage(
Type type,
string resourceName
)
public:
static Image^ GetImage(
Type^ type,
String^ resourceName
)
static member GetImage :
type:Type *
resourceName:string -> Image
public static function GetImage(
type : Type,
resourceName : String
) : Image
Parameters
type
Type: TypeA type in the assembly to read resource from
resourceName
Type: Stringname of the metafile resource
Return Value
Type: 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.