Table of Contents

Interface IKnownFolder

Namespace
Microsoft.WindowsAPICodePack.Shell
Assembly
Microsoft.WindowsAPICodePack.Shell.dll

Represents a registered or known folder in the system.

public interface IKnownFolder : IDisposable, IEnumerable<ShellObject>, IEnumerable
Inherited Members

Properties

CanonicalName

Gets this known folder's canonical name.

string CanonicalName { get; }

Property Value

string

Category

Gets the category designation for this known folder.

FolderCategory Category { get; }

Property Value

FolderCategory

DefinitionOptions

Gets an value that describes this known folder's behaviors.

DefinitionOptions DefinitionOptions { get; }

Property Value

DefinitionOptions

Description

Gets this known folder's description.

string Description { get; }

Property Value

string

FileAttributes

Gets this known folder's file attributes, such as "read-only".

FileAttributes FileAttributes { get; }

Property Value

FileAttributes

FolderId

Gets the unique identifier for this known folder.

Guid FolderId { get; }

Property Value

Guid

FolderType

Gets a string representation of this known folder's type.

string FolderType { get; }

Property Value

string

FolderTypeId

Gets the unique identifier for this known folder's type.

Guid FolderTypeId { get; }

Property Value

Guid

LocalizedName

Gets this known folder's localized name.

string LocalizedName { get; }

Property Value

string

LocalizedNameResourceId

Gets the resource identifier for this known folder's localized name.

string LocalizedNameResourceId { get; }

Property Value

string

ParentId

Gets the unique identifier for this known folder's parent folder.

Guid ParentId { get; }

Property Value

Guid

ParsingName

Gets this known folder's parsing name.

string ParsingName { get; }

Property Value

string

Path

Gets the path for this known folder.

string Path { get; }

Property Value

string

PathExists

Gets a value that indicates whether this known folder's path exists on the computer.

bool PathExists { get; }

Property Value

bool

Remarks

If this property value is false, the folder might be a virtual folder ( Category property will be Virtual for virtual folders)

Redirection

Gets a value that states whether this known folder can have its path set to a new value, including any restrictions on the redirection.

RedirectionCapability Redirection { get; }

Property Value

RedirectionCapability

RelativePath

Gets this known folder's relative path.

string RelativePath { get; }

Property Value

string

Security

Gets this known folder's security attributes.

string Security { get; }

Property Value

string

Tooltip

Gets this known folder's tool tip text.

string Tooltip { get; }

Property Value

string

TooltipResourceId

Gets the resource identifier for this known folder's tool tip text.

string TooltipResourceId { get; }

Property Value

string