Image.validResource(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the resource specified by the id parameter is valid.
public:
static int validResource(int _id);
public static int validResource (int _id);
static member validResource : int -> int
Public Shared Function validResource (_id As Integer) As Integer
Parameters
- _id
- Int32
The ID of the resource that you want to check.
Returns
0 if the ID is valid.