Click or drag to resize
Asset Class
An asset is a piece of binary content that is embedded in a Smart Component. RobotStudio uses assets to store string resources and the Code Behind assembly. Any kind of binary data that is needed by the smart component can be added as an asset.
Inheritance Hierarchy

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public sealed class Asset : ProjectObject

The Asset type exposes the following members.

Constructors
  NameDescription
Public methodAsset
Initializes a new instance of the Asset class
Top
Properties
  NameDescription
Public propertyAllowSave
Indicates if the user is allowed to save or view the asset data.
Public propertyAttributes
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.)
Public propertyChildren
Enumerates all child objects.
(Inherited from ProjectObject.)
Public propertyContainingProject
Returns the Project that this object is a part of, or null if it is not part of a Project.
(Inherited from ProjectObject.)
Public propertyDisplayName
Gets the name of the the object that should be displayed in the GUI.
(Inherited from ProjectObject.)
Public propertyName
Gets or sets the name of the object
(Inherited from ProjectObject.)
Public propertyOriginalSource
Gets or sets the path to the document that this Asset was created from.
Public propertyParent (Overrides ProjectObjectParent.)
Public propertyTypeDisplayName
Gets a localized name for the type of this object.
(Inherited from ProjectObject.)
Public propertyUIVisible
Gets or sets a value that indicates if this object should be displayed in GUI such as an object browser.
(Inherited from ProjectObject.)
Public propertyUniqueId
Gets a persisted, globally unique identifier for this object, that can be used to find the object using the GetObjectFromUniqueId(String) method.
(Inherited from ProjectObject.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodFindObjects
Recursively finds object that satisfy a condition.
(Inherited from ProjectObject.)
Public methodGetData
Gets the binary data content of this asset.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSetData
Sets the binary data content of this asset.
Public methodToString (Inherited from ProjectObject.)
Top
Version Information

Supported in: 1.0.0.0
See Also