Get the AssetBinary in the collection by its ID.
Namespace: Cartella.InterfacesAssembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
IAssetBinary this[ string binaryID ] { get; } |
Visual Basic |
---|
ReadOnly Default Property Item ( _ binaryID As String _ ) As IAssetBinary Get |
Visual C++ |
---|
property IAssetBinary^ default[String^ binaryID] { IAssetBinary^ get (String^ binaryID); } |
Parameters
- binaryID
- Type: System..::..String
ID of AssetBinary to retrieve, cannot be null or emtpy
Return Value
AssetBinary with matching ID; Null if ID doesn't exist in collectionExceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Thrown when null or empty binary ID passed in |
System..::..ArgumentException | Thrown if current AssetBinary object doesn't have AssetManager reference |
System..::..MemberAccessException | Thrown if database procedure not present |