AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IContentItem.GetImageName Method

Returns the name of the image for the specified `IImageProperty` after `SetImagePropertyValue` is called.

string GetImageName(
IBaseProperty imageProperty
);

#### Parameters

imageProperty
  The image property; cannot be `null`.

#### Return Value

The name of the image for the specified image property.

#### Remarks

See the code sample in setImagePropertyValue for an example of how to retrieve and update value for an `IImageProperty`.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The content item has already been removed.
ArgumentException | The item does not contain the specified property.

#### See Also

IContentItem Interface | Plumtree.Remote.PRC.Content.Item Namespace