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
- SocketAddress.cs
- PrintDocument.cs
- GetPageCompletedEventArgs.cs
- SamlAuthorityBinding.cs
- SpecialFolderEnumConverter.cs
- IBuiltInEvidence.cs
- TraversalRequest.cs
- FloaterParagraph.cs
- TripleDES.cs
- DesignBindingConverter.cs
- SoapHeader.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DispatchWrapper.cs
- PrinterResolution.cs
- SecurityProtocol.cs
- UIElementHelper.cs
- TextFormatterContext.cs
- ResourceWriter.cs
- EntityClientCacheKey.cs
- InternalDispatchObject.cs
- HttpConfigurationContext.cs
- FailedToStartupUIException.cs
- ScalarOps.cs
- SharedUtils.cs
- WebBrowsableAttribute.cs
- BinaryNode.cs
- RTLAwareMessageBox.cs
- ResourcesBuildProvider.cs
- DesignerValidationSummaryAdapter.cs
- SqlAliasesReferenced.cs
- InputLanguageManager.cs
- ToolStripContentPanel.cs
- InstanceData.cs
- HtmlTableRow.cs
- LocalFileSettingsProvider.cs
- LocatorManager.cs
- WindowsTreeView.cs
- WizardForm.cs
- Literal.cs
- GlyphRunDrawing.cs
- BitStack.cs
- ToolStripAdornerWindowService.cs
- Calendar.cs
- _SSPISessionCache.cs
- SamlAssertion.cs
- ShaperBuffers.cs
- FileChangeNotifier.cs
- BamlReader.cs
- DbXmlEnabledProviderManifest.cs
- XmlSchemaAttributeGroupRef.cs
- XmlIlTypeHelper.cs
- ActiveXSite.cs
- OverflowException.cs
- RequestCachePolicy.cs
- MaskedTextBox.cs
- DataGridViewColumnCollectionDialog.cs
- EntityClassGenerator.cs
- ComponentDesigner.cs
- SimpleFileLog.cs
- CollectionEditVerbManager.cs
- DES.cs
- TextModifierScope.cs
- RegionInfo.cs
- EmptyStringExpandableObjectConverter.cs
- XmlNavigatorStack.cs
- SQLRoleProvider.cs
- TemplateBindingExtension.cs
- DynamicEntity.cs
- JsonDeserializer.cs
- ProjectionCamera.cs
- SudsWriter.cs
- ColorTranslator.cs
- CryptoKeySecurity.cs
- ResourceExpressionBuilder.cs
- DSASignatureFormatter.cs
- GeneralTransformCollection.cs
- InvalidAsynchronousStateException.cs
- SessionViewState.cs
- configsystem.cs
- LinqDataView.cs
- Hex.cs
- IndentTextWriter.cs
- GeneralTransformCollection.cs
- WebServiceAttribute.cs
- ControlBindingsConverter.cs
- ReaderWriterLockWrapper.cs
- PersonalizationState.cs
- DocumentSequenceHighlightLayer.cs
- CellParagraph.cs
- ScrollViewer.cs
- DataAccessor.cs
- CompositeActivityDesigner.cs
- AdornerDecorator.cs
- LoadRetryAsyncResult.cs
- TypeUtil.cs
- ColorConvertedBitmapExtension.cs
- BuildResult.cs
- PartialClassGenerationTaskInternal.cs
- Utils.cs
- RenderDataDrawingContext.cs