Microsoft SDK for Java

Component.getResource

Retrieves a named resource.

Syntax

public IDataStream getResource( String name )

Parameters

name

The name of the resource to be retrieved.

Return Value

Returns an object implementing the IDataStream interface that contains the resource. If no resource with the specified name is found, null is returned.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.