Share via


Image.validResource(Int32) Method

Definition

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.

Applies to