Get a media object as an xml object
Namespace: umbraco
Assembly: umbraco (in umbraco)
Version: 1.0.2698.41384
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function GetMedia ( _ MediaId As Integer, _ Deep As Boolean _ ) As XPathNodeIterator |
| C# |
|---|
public static XPathNodeIterator GetMedia ( int MediaId, bool Deep ) |
| Visual C++ |
|---|
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