PIDL Class

Represents a managed pointer to an ITEMIDLIST structure.

Definition

Namespace: DevCase.Win32.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class PIDL : SafeHandleZeroOrMinusOneIsInvalid, IEnumerable<PIDL>, 
	IEquatable<PIDL>, IEquatable<IntPtr>
Inheritance
Object    CriticalFinalizerObject    SafeHandle    SafeHandleZeroOrMinusOneIsInvalid    PIDL
Implements
IEnumerablePIDL, IEquatablePIDL, IEquatableIntPtr

Remarks

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

PIDL(PIDL) Initializes a new instance of the PIDL class.
PIDL(String) Initializes a new instance of the PIDL class from a file or folder path.
PIDL(IntPtr, Boolean, Boolean) Initializes a new instance of the PIDL class.

Properties

IsClosed Gets a value indicating whether the handle is closed.
(Inherited from SafeHandle)
IsEmpty Gets a value indicating whether this ITEMIDLIST is empty.
IsInvalid Gets a value that indicates whether the handle is invalid.
(Inherited from SafeHandleZeroOrMinusOneIsInvalid)
LastId Gets the last SHITEMID in this ITEMIDLIST.
Parent Gets an ITEMIDLIST with the last ID removed. If this is the topmost ID, a clone of the current is returned.
Size Gets the size, in bytes, of this ITEMIDLIST.

Methods

Append Appends the specified PIDL to the current ITEMIDLIST.
Close Marks the handle for releasing and freeing resources.
(Inherited from SafeHandle)
Combine Combines the specified PIDL instances to create a new one.
DangerousAddRef Manually increments the reference counter on SafeHandle instances.
(Inherited from SafeHandle)
DangerousGetHandle Returns the value of the handle field.
(Inherited from SafeHandle)
DangerousRelease Manually decrements the reference counter on a SafeHandle instance.
(Inherited from SafeHandle)
Dispose Releases all resources used by the SafeHandle class.
(Inherited from SafeHandle)
Equals(IntPtr) Indicates whether the current object is equal to another object of the same type.
Equals(Object)
(Overrides ObjectEquals(Object))
Equals(PIDL) Indicates whether the current object is equal to another object of the same type.
GetEnumerator Returns an enumerator that iterates through the collection.
GetHashCode
(Overrides ObjectGetHashCode)
GetType Gets the Type of the current instance.
(Inherited from Object)
Insert Inserts the specified PIDL before the current ITEMIDLIST.
IsParentOf Determines if this instance is a parent or ancestor of the specified PIDL.
RemoveLastId Removes the last identifier from the ITEMIDLIST.
SetHandleAsInvalid Marks a handle as no longer used.
(Inherited from SafeHandle)
ToString Returns a String that represents this PIDL.
(Overrides ObjectToString)
ToString(ShellItemGetDisplayName) Returns a String that represents this PIDL according to the format provided by displayNameFormat.

Operators

Addition(PIDL, PIDL) Combines the specified PIDL instances to create a new one.
(PIDL to IntPtr) Performs an explicit conversion from PIDL to IntPtr.
(IntPtr to PIDL) Performs an implicit conversion from IntPtr to PIDL.

Extension Methods

AppendPIDL Appends an element to the end of the source collection.
(Defined by IEnumerableExtensions)
AsReadOnlyPIDL Returns a read-only ReadOnlyCollectionT wrapper for the specified collection.
(Defined by IEnumerableExtensions)
CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

CountEmptyItemsPIDL Counts the empty items of the source IEnumerableT.
(Defined by IEnumerableExtensions)
CountNonEmptyItemsPIDL Counts the non-empty items of the source IEnumerableT.
(Defined by IEnumerableExtensions)
DisposeAllPIDL Calls the Dispose method on all the elements of the specified IEnumerableT.
(Defined by IDisposableExtensions)
DistinctByPIDL, TKey Returns distinct elements from a sequence by using a specified key selector and the default equality comparer to compare values.
(Defined by IEnumerableExtensions)
DistinctByPIDL, TKey Returns distinct elements from a sequence by using a specified key selector and equality comparer to compare values.
(Defined by IEnumerableExtensions)
DuplicatesPIDL Gets all the duplicated values of the source IEnumerableT.
(Defined by IEnumerableExtensions)
ForEachPIDL Performs the specified action on each element of the IEnumerableT.
(Defined by IEnumerableExtensions)
GetRandomItemPIDL Gets a random element from the source IEnumerableT.
(Defined by IEnumerableExtensions)
GroupByIntoFirstElementPIDL, TKey Groups the elements of a sequence according to a specified key selector function and discards all the elements in each group except the first element.
(Defined by IEnumerableExtensions)
GroupByIntoItemCountPIDL, TKey Groups the elements of a sequence according to a specified key selector function and returns a DictionaryTKey, TValue dictionary on which {.key = element} and {.value = element count}.
(Defined by IEnumerableExtensions)
GroupByIntoMaxNumberOfElementsPIDL, TKey Groups the elements of a sequence according to a specified key selector function and takes the specified amount of elements of each group.
(Defined by IEnumerableExtensions)
IndexOfPIDL Searches for the specified object pattern and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfPIDL Searches for the specified object and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfPIDL Searches for the specified object pattern and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfPIDL Searches for the specified object and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfPIDL Searches for the specified object pattern and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfPIDL Searches for the specified object and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllPIDL Searches for the specified object pattern and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllPIDL Searches for the specified object and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllPIDL Searches for the specified object pattern and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllPIDL Searches for the specified object and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllPIDL Searches for the specified object pattern and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IndexOfAllPIDL Searches for the specified object and returns the zero-based indices of all the occurrence within the entire IEnumerableT.
(Defined by IEnumerableExtensions)
IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
PrependPIDL Prepends an element to the start of the source collection.
(Defined by IEnumerableExtensions)
RandomizePIDL Randomizes the elements of the source IEnumerableT.
(Defined by IEnumerableExtensions)
RemoveDuplicatesPIDL Removes duplicated values in the source IEnumerableT.
(Defined by IEnumerableExtensions)
RemoveDuplicatesPIDL Removes duplicated values in the source IEnumerableT.
(Defined by IEnumerableExtensions)
RemoveSequencePIDL Searches for the specified pattern of elements in the source IEnumerableT and removes any occurrences.
(Defined by IEnumerableExtensions)
RemoveSequencePIDL Searches for the specified pattern of elements in the source IEnumerableT and removes any occurrences.
(Defined by IEnumerableExtensions)
RemoveSequencePIDL Searches for the specified pattern of elements in the source IEnumerableT and removes any occurrences.
(Defined by IEnumerableExtensions)
ReplaceSequencePIDL Searches for the specified pattern of elements in the source IEnumerableT and replace any occurrences with the specified replacement.
(Defined by IEnumerableExtensions)
ReplaceSequencePIDL Searches for the specified pattern of elements in the source IEnumerableT and replace any occurrences with the specified replacement.
(Defined by IEnumerableExtensions)
ReplaceSequencePIDL Searches for the specified pattern of elements in the source IEnumerableT and replace any occurrences with the specified replacement.
(Defined by IEnumerableExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
SplitIntoNumberOfElementsPIDL Splits the source IEnumerableT into secuences with the specified amount of elements.
(Defined by IEnumerableExtensions)
SplitIntoNumberOfElementsPIDL Splits the source IEnumerableT into secuences with the specified amount of elements.
(Defined by IEnumerableExtensions)
SplitIntoPartsPIDL Splits the source IEnumerableT into the specified amount of secuences.
(Defined by IEnumerableExtensions)
TakeUntilPIDL Returns elements from a sequence until a specified condition is true.
(Defined by IEnumerableExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)
ToArrayPIDL Creates an array from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToHtmlTablePIDL Generic approach to convert a IEnumerableT to an HTML table string representation.
(Defined by IEnumerableExtensions)
ToListPIDL Creates a ListT from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToObservableCollectionPIDL Creates a ObservableCollectionT from an IEnumerableT.
(Defined by IEnumerableExtensions)
ToObservableCollectionPIDL Creates a ObservableCollectionT from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToSortableObservableCollectionPIDL Creates a SortableObservableCollectionT from an IEnumerableT.
(Defined by IEnumerableExtensions)
ToSortableObservableCollectionPIDL Creates a SortableObservableCollectionT from an IEnumerableT using the specified transform function.
(Defined by IEnumerableExtensions)
ToTreeStringPIDL Transforms an array of string into a string with tree formatting.
(Defined by IEnumerableExtensions)
UniqueDuplicatesPIDL Gets the unique duplicated values of the source IEnumerableT.
(Defined by IEnumerableExtensions)
UniquesPIDL Gets the unique values of the source IEnumerableT.
(Defined by IEnumerableExtensions)

See Also