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
- ResourceDefaultValueAttribute.cs
- DocumentViewerAutomationPeer.cs
- TransformPatternIdentifiers.cs
- ITextView.cs
- PropertyChangedEventArgs.cs
- COM2ExtendedBrowsingHandler.cs
- XmlWrappingWriter.cs
- DesignParameter.cs
- DataGridViewCellEventArgs.cs
- VirtualizingStackPanel.cs
- ButtonChrome.cs
- ToolStripPanelRow.cs
- FacetEnabledSchemaElement.cs
- ProfileParameter.cs
- TimeSpanConverter.cs
- UIElementAutomationPeer.cs
- MsmqSecureHashAlgorithm.cs
- Quaternion.cs
- HttpAsyncResult.cs
- PropertyFilterAttribute.cs
- RelationshipConverter.cs
- PointLight.cs
- ServerValidateEventArgs.cs
- ProcessRequestArgs.cs
- TabItem.cs
- StylusCaptureWithinProperty.cs
- SetStateDesigner.cs
- CompatibleComparer.cs
- GridViewDeletedEventArgs.cs
- TextElement.cs
- ListBase.cs
- CallbackValidator.cs
- SystemWebExtensionsSectionGroup.cs
- DisposableCollectionWrapper.cs
- Splitter.cs
- SaveFileDialog.cs
- FixedPageProcessor.cs
- Matrix.cs
- PeerNameRecord.cs
- Latin1Encoding.cs
- Error.cs
- XmlTextReaderImpl.cs
- OdbcFactory.cs
- XmlAttribute.cs
- WasNotInstalledException.cs
- CustomExpressionEventArgs.cs
- MobileErrorInfo.cs
- SystemIPInterfaceProperties.cs
- LineServicesCallbacks.cs
- NextPreviousPagerField.cs
- ToolboxDataAttribute.cs
- BindingManagerDataErrorEventArgs.cs
- TemplateField.cs
- EditingMode.cs
- ResponseBodyWriter.cs
- XslTransform.cs
- CornerRadius.cs
- SettingsSection.cs
- EntityParameter.cs
- WriteTimeStream.cs
- ConfigXmlCDataSection.cs
- EnvelopedPkcs7.cs
- Point3D.cs
- ValueConversionAttribute.cs
- ParsedAttributeCollection.cs
- MouseWheelEventArgs.cs
- SelectorAutomationPeer.cs
- RawContentTypeMapper.cs
- CursorConverter.cs
- ZipIOCentralDirectoryBlock.cs
- StandardToolWindows.cs
- EventArgs.cs
- SqlParameterCollection.cs
- cryptoapiTransform.cs
- ContentHostHelper.cs
- BaseAsyncResult.cs
- precedingquery.cs
- ListViewInsertionMark.cs
- precedingsibling.cs
- PointAnimationBase.cs
- SingleObjectCollection.cs
- EventNotify.cs
- QueryRewriter.cs
- DateTimeOffsetAdapter.cs
- XmlDictionaryReaderQuotas.cs
- GZipStream.cs
- StrongNameUtility.cs
- FaultContractAttribute.cs
- AsyncOperation.cs
- AuthorizationRule.cs
- AssemblyNameProxy.cs
- LayoutTable.cs
- WeakHashtable.cs
- HttpGetClientProtocol.cs
- Int32CAMarshaler.cs
- SQLUtility.cs
- ShutDownListener.cs
- XmlNotation.cs
- BoundField.cs
- SequentialUshortCollection.cs