The IAsset type exposes the following members.

Methods

  NameDescription
Public methodAddMember
Add a new member to the Asset's member collection.
Public methodAddMembers
Add multiple new members.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetVersion
Get the snapshot for specific version number of the Asset
(Inherited from IAssetVersioning.)
Public methodRemoveMember
Remove an existing AssetMember from this Asset's member collection.
Public methodRemoveVersion
Remove a specific version
(Inherited from IAssetVersioning.)
Public methodRestoreMember
Restore a removed member to the Asset's members collection.
Public methodUpaVersion
Increment a version on the current asset object
(Inherited from IAssetVersioning.)
Public methodUpdateMember
Commit the changes on the AssetMember object to its underlying database record.

Properties

  NameDescription
Public propertyAllowedExistingVersions
It is not the asset versions limit settings completely. If auto discard is allowed, the number of this value is infinite
(Inherited from IAssetVersioning.)
Public propertyAssetManager
Get the AssetSystemManager that created this object.
(Inherited from IAssetCommon.)
Public propertyAssetType
Get the name of AssetType.
(Inherited from IAssetCommon.)
Public propertyCorrupted
Test to learn if the asset object is corrupted/changed.
(Inherited from IAssetCommon.)
Public propertyCreationDate
Get the Create Date of the Asset
Public propertyCreationUserID
Get the ID of user created this Asset
Public propertyCurrentVersion
Get the current version number
(Inherited from IAssetVersioning.)
Public propertyDefaultMember
Get/Set the Default member of the Asset. Default member of the Asset is normally the first member added to the Asset.
Public propertyDescription
Get/Set the Description of the Asset
Public propertyID
Get ID of the object
(Inherited from IUniqueObject.)
Public propertyItem[([( Int32])])
Indexer: Get a member in this Asset by member ID
Public propertyItem[([( String])])
Indexer: Get a member in this Asset by member name
Public propertyLastModifiedDate
Get the Date when the Asset was last modified
Public propertyMembers
Get the member of this Asset in Array form
Public propertyName
Get, set Name of the object
(Inherited from IUniqueObject.)
Public propertyOwner
Set the Owner Object of this Asset
Public propertyOwnerObjectID
Get the ID of the owner object of this Asset
Public propertyOwnerObjectType
Get the type of the owner object of this Asset
Public propertyUrl
Get the URL of the Asset, which is the URL of its default member.
Public propertyVersions
Get all available version numbers
(Inherited from IAssetVersioning.)

Events

  NameDescription
Public eventChildAdded
Event when a new Member is added
Public eventChildDeleted
Event when a Member is removed
Public eventChildRestored
Event when a Member is restored
Public eventUpdated
Event when Asset itself is updated

See Also