EmbeddedResource Class

Spotfire 14.3 API Reference
Represents an resource that is embedded in the DXP file.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.PersistenceEmbeddedResource

Namespace:  Spotfire.Dxp.Framework.Persistence
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public sealed class EmbeddedResource : ISerializable

The EmbeddedResource type exposes the following members.

Constructors

  NameDescription
Public methodEmbeddedResource
Initializes a new instance of the EmbeddedResource class.
Public methodEmbeddedResource(String)
Initializes a new instance of the EmbeddedResource class.
Public methodEmbeddedResource(String, String)
Initializes a new instance of the EmbeddedResource class.
Top
Properties

  NameDescription
Public propertyName
Gets the name.
Top
Methods

  NameDescription
Protected methodFinalize
Destructor that removes any temporary file.
(Overrides ObjectFinalize.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOpenRead
Opens a stream from this EmbeddedResource for reading.
Public methodOpenWrite
Opens a stream to this EmbeddedResource for writing.
Public methodSetUniqueIdentifier
Sets the unique identifier of this instance. Used to determine equality between instances. If two EmbeddedResource objects are serialized with the same unique identifier, only the contents from one of them will be written to the dxp archive.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Use and serialize an instance of this object to store data in the DXP file when the analysis is saved.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference