Support.LoadResPicture Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Laadt een bitmap, pictogram of cursor uit een resourcebestand (.res).
Overloads
| Name | Description |
|---|---|
| LoadResPicture(Object, LoadResConstants) |
Verouderd.
Laadt een bitmap, pictogram of cursor uit een resourcebestand (.res). |
| LoadResPicture(Object, LoadResConstants, CultureInfo) |
Verouderd.
Laadt een bitmap, pictogram of cursor uit een resourcebestand (.res), waarbij een landinstelling wordt opgegeven. |
LoadResPicture(Object, LoadResConstants)
Let op
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
Laadt een bitmap, pictogram of cursor uit een resourcebestand (.res).
public:
static System::Object ^ LoadResPicture(System::Object ^ ID, Microsoft::VisualBasic::Compatibility::VB6::LoadResConstants restype);
public static object LoadResPicture(object ID, Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants restype);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static object LoadResPicture(object ID, Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants restype);
static member LoadResPicture : obj * Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants -> obj
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member LoadResPicture : obj * Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants -> obj
Public Function LoadResPicture (ID As Object, restype As LoadResConstants) As Object
Parameters
- restype
- LoadResConstants
Een LoadResConstants opsomming waarmee het resourcetype wordt opgegeven.
Retouren
Een Object die de resource bevat.
- Kenmerken
Opmerkingen
In Visual Basic 6.0 zijn internationale versies van een toepassing gemaakt door alle lokaliseerbare informatie, zoals tekenreeksen, in een afzonderlijk resourcebestand (.res) voor elke taal te plaatsen. Tijdens runtime zijn landinstellingenspecifieke resources geladen vanuit het resourcebestand door de LoadResString, LoadResPictureen LoadResData functies aan te roepen.
In Visual Basic worden internationale versies van een toepassing gemaakt door de eigenschap Language van een formulier te wijzigen tijdens het ontwerpen. Er wordt automatisch een afzonderlijk resourcebestand (.resx) gemaakt voor elke geselecteerde landinstelling. U hoeft geen resources meer expliciet uit code te laden; resources worden automatisch geladen op basis van de landinstelling van de gebruiker. Zie Globalizing Windows Forms applications voor meer informatie.
Note
Functies en objecten in de naamruimte Microsoft.VisualBasic.Compatibility.VB6 worden gebruikt door de hulpprogramma's voor het upgraden van Visual Basic 6.0 naar Visual Basic 2008. In de meeste gevallen zijn deze functies en objecten dubbele functionaliteit die u kunt vinden in andere naamruimten in het .NET Framework. Ze zijn alleen nodig wanneer het codemodel Visual Basic 6.0 aanzienlijk verschilt van de .NET Framework-implementatie.
Zie ook
Van toepassing op
LoadResPicture(Object, LoadResConstants, CultureInfo)
Let op
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
Laadt een bitmap, pictogram of cursor uit een resourcebestand (.res), waarbij een landinstelling wordt opgegeven.
public:
static System::Object ^ LoadResPicture(System::Object ^ ID, Microsoft::VisualBasic::Compatibility::VB6::LoadResConstants restype, System::Globalization::CultureInfo ^ Culture);
public static object LoadResPicture(object ID, Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants restype, System.Globalization.CultureInfo Culture);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static object LoadResPicture(object ID, Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants restype, System.Globalization.CultureInfo Culture);
static member LoadResPicture : obj * Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants * System.Globalization.CultureInfo -> obj
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member LoadResPicture : obj * Microsoft.VisualBasic.Compatibility.VB6.LoadResConstants * System.Globalization.CultureInfo -> obj
Public Function LoadResPicture (ID As Object, restype As LoadResConstants, Culture As CultureInfo) As Object
Parameters
- restype
- LoadResConstants
Een LoadResConstants opsomming waarmee het resourcetype wordt opgegeven.
- Culture
- CultureInfo
Een CultureInfo object dat de landinstelling aangeeft.
Retouren
Een Object die de resource bevat.
- Kenmerken
Opmerkingen
In Visual Basic 6.0 zijn internationale versies van een toepassing gemaakt door alle lokaliseerbare informatie, zoals tekenreeksen, in een afzonderlijk resourcebestand (.res) voor elke taal te plaatsen. Tijdens runtime zijn landinstellingenspecifieke resources geladen vanuit het resourcebestand door de LoadResString, LoadResPictureen LoadResData functies aan te roepen.
In Visual Basic worden internationale versies van een toepassing gemaakt door de eigenschap Language van een formulier te wijzigen tijdens het ontwerpen. Er wordt automatisch een afzonderlijk resourcebestand (.resx) gemaakt voor elke geselecteerde landinstelling. U hoeft geen resources meer expliciet uit code te laden; resources worden automatisch geladen op basis van de landinstelling van de gebruiker. Zie Globalizing Windows Forms applications voor meer informatie.
Note
Functies en objecten in de naamruimte Microsoft.VisualBasic.Compatibility.VB6 worden gebruikt door de hulpprogramma's voor het upgraden van Visual Basic 6.0 naar Visual Basic 2008. In de meeste gevallen zijn deze functies en objecten dubbele functionaliteit die u kunt vinden in andere naamruimten in het .NET Framework. Ze zijn alleen nodig wanneer het codemodel Visual Basic 6.0 aanzienlijk verschilt van de .NET Framework-implementatie.