Class IntegerName
The Serialized Property Value (Integer Name) structure specifies a single property within a Serialized Property Storage structure, where the property is identified by a unique unsigned integer.
Inherited Members
Namespace: SharpShellLink.PropertyStore
Assembly: SharpShellLink.dll
Syntax
public class IntegerName : SerializedPropertyValue
Constructors
| Edit this page View SourceIntegerName()
Constructor
Declaration
public IntegerName()
IntegerName(uint, TypedPropertyValue)
Constructor
Declaration
public IntegerName(uint ID, TypedPropertyValue TypedPropertyValue)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | ID | An unsigned integer that specifies the identity of the property. |
| TypedPropertyValue | TypedPropertyValue | A TypedPropertyValue structure |
Properties
| Edit this page View SourceID
Id (4 bytes): An unsigned integer that specifies the identity of the property. It MUST be unique within the enclosing Serialized Property Storage structure.
Declaration
public uint ID { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
Reserved
Reserved(1 byte): MUST be 0x00.
Declaration
public byte Reserved { get; }
Property Value
| Type | Description |
|---|---|
| byte |
ValueSize
Value Size (4 bytes): An unsigned integer that specifies the total size, in bytes, of this structure. It MUST be 0x00000000 if this is the last The Serialized Property Value in the enclosing Serialized Property Storage structure.
Declaration
public override uint ValueSize { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Overrides
Methods
| Edit this page View SourceFromByteArray(byte[])
Create an SerializedPropertyValue from a given byte array
Declaration
public static SerializedPropertyValue FromByteArray(byte[] ba)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | ba | The byte array |
Returns
| Type | Description |
|---|---|
| SerializedPropertyValue | An SerializedPropertyValue 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. |