GetKnownFolder Method

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Returns an object that represents the specified known folder.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.KnownFolders
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static KnownFolder GetKnownFolder(
	string name,
	bool isCanonicalName
)
Visual Basic (Declaration)
Public Shared Function GetKnownFolder ( _
	name As String, _
	isCanonicalName As Boolean _
) As KnownFolder
Visual C++
public:
static KnownFolder^ GetKnownFolder(
	String^ name, 
	bool isCanonicalName
)

Parameters

name
Type: System..::.String
The name of the folder. This can be the friendly name or the canonical name.
isCanonicalName
Type: System..::.Boolean
A Boolean value that indicates whether the name parameter is the friendly name or the canonical name.

Return Value

A KnownFolder object.

See Also