Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / Microsoft / Win32 / FileDialogCustomPlace.cs / 1305600 / FileDialogCustomPlace.cs
/**************************************************************************\ Copyright Microsoft Corporation. All Rights Reserved. \**************************************************************************/ namespace Microsoft.Win32 { using System; using System.Globalization; ////// A union of KnownFolders and file paths that can be placed into FileDialog's Favorites pane. /// public sealed class FileDialogCustomPlace { ////// Create a new FileDialogCustomPlace from a known folder guid. /// ////// Guids provided here may be gotten from the KnownFolders.h file included in the Windows SDK. /// New guids can also be registered by an application. /// public FileDialogCustomPlace(Guid knownFolder) { KnownFolder = knownFolder; } ////// Create a new FileDialogCustomPlace from a file path. /// public FileDialogCustomPlace(string path) { Path = path ?? ""; } public Guid KnownFolder { get; private set; } public string Path { get; private set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /**************************************************************************\ Copyright Microsoft Corporation. All Rights Reserved. \**************************************************************************/ namespace Microsoft.Win32 { using System; using System.Globalization; ////// A union of KnownFolders and file paths that can be placed into FileDialog's Favorites pane. /// public sealed class FileDialogCustomPlace { ////// Create a new FileDialogCustomPlace from a known folder guid. /// ////// Guids provided here may be gotten from the KnownFolders.h file included in the Windows SDK. /// New guids can also be registered by an application. /// public FileDialogCustomPlace(Guid knownFolder) { KnownFolder = knownFolder; } ////// Create a new FileDialogCustomPlace from a file path. /// public FileDialogCustomPlace(string path) { Path = path ?? ""; } public Guid KnownFolder { get; private set; } public string Path { get; private set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Timer.cs
- CryptoHelper.cs
- CrossSiteScriptingValidation.cs
- ReadOnlyDataSource.cs
- Splitter.cs
- WindowsScroll.cs
- ProcessHostMapPath.cs
- GetChildSubtree.cs
- Parameter.cs
- EncodingDataItem.cs
- BitmapEffectInput.cs
- ClrProviderManifest.cs
- DesignerLoader.cs
- ByteAnimationBase.cs
- Missing.cs
- TextReturnReader.cs
- TextHidden.cs
- WebPartDisplayMode.cs
- ComboBox.cs
- Message.cs
- XmlReaderSettings.cs
- Hex.cs
- ActivityXamlServices.cs
- MinMaxParagraphWidth.cs
- RelationshipDetailsRow.cs
- TextRangeEditLists.cs
- SystemTcpConnection.cs
- Unit.cs
- RectKeyFrameCollection.cs
- ConfigPathUtility.cs
- GPRECT.cs
- HashCodeCombiner.cs
- TraceListener.cs
- UnknownWrapper.cs
- HtmlControl.cs
- UiaCoreApi.cs
- AssemblyName.cs
- ThreadSafeMessageFilterTable.cs
- FormViewDeleteEventArgs.cs
- PageParser.cs
- Tokenizer.cs
- ResourceAssociationTypeEnd.cs
- BamlVersionHeader.cs
- ImageBrush.cs
- RoleProviderPrincipal.cs
- IResourceProvider.cs
- XmlBaseReader.cs
- panel.cs
- OdbcParameterCollection.cs
- ShapingWorkspace.cs
- WebScriptMetadataFormatter.cs
- PipeStream.cs
- DataViewListener.cs
- PointAnimationUsingPath.cs
- XmlNamespaceDeclarationsAttribute.cs
- Expr.cs
- SiteMapNodeCollection.cs
- NativeMethodsOther.cs
- StructuralCache.cs
- BoolLiteral.cs
- DataRecordInfo.cs
- CommandManager.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DynamicAttribute.cs
- AttributeCollection.cs
- TextComposition.cs
- CodeMethodReturnStatement.cs
- CustomAttribute.cs
- GuidelineCollection.cs
- XamlReader.cs
- SqlCacheDependency.cs
- CachedRequestParams.cs
- InstanceStore.cs
- ThicknessAnimationBase.cs
- WS2007HttpBindingCollectionElement.cs
- EncryptedPackage.cs
- ArcSegment.cs
- DocumentSequence.cs
- ObjectView.cs
- ReceiveErrorHandling.cs
- DataControlFieldCell.cs
- HotSpotCollection.cs
- Gdiplus.cs
- PointConverter.cs
- VirtualizedContainerService.cs
- ItemType.cs
- ApplicationManager.cs
- Touch.cs
- XmlDataDocument.cs
- XMLSyntaxException.cs
- UnknownWrapper.cs
- webbrowsersite.cs
- XmlDataSource.cs
- HttpApplicationFactory.cs
- RelationshipConverter.cs
- X509Chain.cs
- DocumentViewer.cs
- DataGridViewComboBoxCell.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ReachDocumentReferenceCollectionSerializer.cs