Click or drag to resize

PropertyKey Structure

Specifies the format + id (FMTID/PID) structure that programmatically identifies a property. Wraps Windows Property System's PROPERTYKEY structure.

Namespace:  callback.ShellBoost.Core.WindowsPropertySystem
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public struct PropertyKey : IEquatable<PropertyKey>

The PropertyKey type exposes the following members.

Constructors
  NameDescription
Public methodPropertyKey(Byte)
Initializes a new instance of the PropertyKey struct.
Public methodPropertyKey(Guid, Int32)
Initializes a new instance of the PropertyKey struct.
Top
Properties
  NameDescription
Public propertyCanonicalName
Gets the canonical name.
Public propertyDescription
Gets the corresponding property description.
Public propertyFormatId
Gets the format identifier.
Public propertyId
Gets the identifier.
Public propertyIsNull
Gets a value indicating whether this instance is the NULL property key (guid empty and identitifier set to 0).
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(PropertyKey)
Indicates whether the current object is equal to another object of the same type.
Public methodFormatForDisplay
Formats a value for display, using the property description.
Public methodStatic memberFromString
Converts a string to a PropertyKey instance.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Public methodToValueString
Formats the property key as "{Guid value} identifier", like "{F29F85E0-4FF9-1068-AB91-08002B27B3D9} 2" for example. See also the PSPropertyKeyFromString function.
Public methodTryCoerceToCanonicalValue
Coerces a value to a canonical value.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the == operator.
Public operatorStatic memberInequality
Implements the != operator.
Top
Fields
  NameDescription
Public fieldStatic memberFirstUsableId
The first usable identifier
Public fieldStatic memberNull
The null property key.
Public fieldStatic memberPID_FIRST_USABLE
The first usable property id value (2). Values of 0 and 1 are reserved and should not be used.
Public fieldStatic memberPSGUID_FOLDER_COLUMNID
The Property Key format identifier for accessing a folder column by its index.
Top
See Also