Class SerializedPropertyStorage
The Serialized Property Storage structure is a sequence of Serialized Property Value structures. The sequence MUST be terminated by a Serialized Property Value structure that specifies 0x00000000 for the Value Size field.
Inherited Members
Namespace: SharpShellLink.PropertyStore
Assembly: SharpShellLink.dll
Syntax
public class SerializedPropertyStorage : Structure
Constructors
| Edit this page View SourceSerializedPropertyStorage()
Constructor
Declaration
public SerializedPropertyStorage()
SerializedPropertyStorage(List<SerializedPropertyValue>)
Constructor
Declaration
public SerializedPropertyStorage(List<SerializedPropertyValue> PropertyStorage)
Parameters
| Type | Name | Description |
|---|---|---|
| List<SerializedPropertyValue> | PropertyStorage | A sequence of one or more Serialized Property Storage structures |
Properties
| Edit this page View SourceFormatID
A GUID that specifies the semantics and expected usage of the properties contained in this Serialized Property Storage structure. It MUST be unique in the set of serialized property storage structures.
Declaration
public Guid FormatID { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
PropertyStorage
A sequence of one or more Serialized Property Storage structures.
Declaration
public List<SerializedPropertyValue> PropertyStorage { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SerializedPropertyValue> |
StorageSize
Store Size (4 bytes): An unsigned integer that specifies the total size, in bytes, of this structure, excluding the size of this field.
Declaration
public virtual uint StorageSize { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Version
MUST be equal to 0x53505331.
Declaration
public uint Version { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
| Edit this page View SourceFromByteArray(byte[])
Create a LinkTargetIDList from a given byte array
Declaration
public static SerializedPropertyStorage FromByteArray(byte[] ba)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | ba | The byte array |
Returns
| Type | Description |
|---|---|
| SerializedPropertyStorage | A LinkTargetIDList object |
GetBytes()
Convert the Structure to a byte array
Declaration
public override byte[] GetBytes()
Returns
| Type | Description |
|---|---|
| byte[] | Byte array representation of the Structure |
Overrides
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |