Constable Authorization Engine 2.0 BETA

Context.GetResourceSmallImageIndex Method 

[This is preliminary documentation and subject to change.]

Gets the index of the small resource image.

[Visual Basic]
Public Shared Function GetResourceSmallImageIndex( _
   ByVal resourceId As String _
) As Integer
[C#]
public static int GetResourceSmallImageIndex(
   string resourceId
);

Parameters

resourceId
The ID of the image resource.

Return Value

The index of the image in the SmallImageList collection.

Remarks

The resourceId is used as the image key for the resource image. If the image isn't loaded, the method automatically loads the image from the calling assembly's manifest and adds it to the SmallImageList.Images collection under the resourceId key.

See Also

Context Class | LaMarvin.Design Namespace