• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpShellLink
      • Shortcut
    • SharpShellLink.Const
      • KNOWNFOLDERID
    • SharpShellLink.Flags
      • CSIDL
      • CommonNetworkRelativeLinkFlags
      • DriveType
      • FileAttributesFlags
      • FillAttributes
      • FontFamily
      • FontPitch
      • HotKeyFlags
      • LinkFlags
      • LinkInfoFlags
      • ModifierKeys
      • NetworkProviderType
      • ShowCommand
      • VirtualKeyCodes
    • SharpShellLink.PropertyStore
      • IntegerName
      • PropertyType
      • SerializedPropertyStorage
      • SerializedPropertyStore
      • SerializedPropertyValue
      • StringName
      • Structure
      • TypedPropertyValue
    • SharpShellLink.Structures
      • BlockSignature
      • CommonNetworkRelativeLink
      • ConsoleDataBlock
      • ConsoleFEDataBlock
      • CplLinkTargetIDList
      • DarwinDataBlock
      • EnvironmentVariableDataBlock
      • ExtraData
      • ExtraDataBlock
      • IDList
      • IconEnvironmentDataBlock
      • ItemID
      • KnownFolderDataBlock
      • LinkInfo
      • LinkTargetIDList
      • PropertyStoreDataBlock
      • ShellLinkHeader
      • ShimDataBlock
      • SpecialFolderDataBlock
      • StringData
      • Structure
      • TerminalBlock
      • TrackerDataBlock
      • VistaAndAboveIDListDataBlock
      • VolumeID

    Class TypedPropertyValue

    The TypedPropertyValue structure represents the typed value of a property in a property set.

    Inheritance
    object
    Structure
    TypedPropertyValue
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: SharpShellLink.PropertyStore
    Assembly: SharpShellLink.dll
    Syntax
    public class TypedPropertyValue : Structure

    Constructors

    | Edit this page View Source

    TypedPropertyValue(PropertyType, byte[])

    Constructor

    Declaration
    public TypedPropertyValue(PropertyType Type, byte[] Value)
    Parameters
    Type Name Description
    PropertyType Type
    byte[] Value

    Properties

    | Edit this page View Source

    Padding

    Padding (2 bytes): MUST be set to zero, and any nonzero value SHOULD be rejected.

    Declaration
    public ushort Padding { get; }
    Property Value
    Type Description
    ushort
    | Edit this page View Source

    Type

    Type (2 bytes): MUST be a value from the PropertyType enumeration, indicating the type of property represented.

    Declaration
    public PropertyType Type { get; }
    Property Value
    Type Description
    PropertyType
    | Edit this page View Source

    Value

    Value (variable): MUST be the value of the property represented and serialized according to the value of Type

    Declaration
    public object? Value { get; }
    Property Value
    Type Description
    object

    Methods

    | Edit this page View Source

    GetBytes()

    Convert the Structure to a byte array

    Declaration
    public override byte[] GetBytes()
    Returns
    Type Description
    byte[]

    Byte array representation of the Structure

    Overrides
    Structure.GetBytes()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    Structure.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2017 Securify B.V., 2026 Jérémy Ansel