Hi,
API Docs available at
http://umbraco.org/apiDocs/Here's the extract for GetMedia():
Code:public static XPathNodeIterator GetMedia (
int MediaId,
bool Deep
)
Parameters
MediaId
System.Int32
The identifier of the media object to be returned
Deep
System.Boolean
If true, children of the media object is returned
Return Value
An umbraco xml node of the media (same format as a document node)
Always a good idea to have a look there!
Hope that helps.
/Dirk
level 1 certified - umbraco blog at
netaddicts.be - working on an integrated forum4umbraco