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
- HttpListenerPrefixCollection.cs
- CssStyleCollection.cs
- Message.cs
- FactoryGenerator.cs
- SR.cs
- LinqDataSourceHelper.cs
- CopyCodeAction.cs
- RegistrationServices.cs
- TypefaceMap.cs
- RotateTransform.cs
- SynchronizationLockException.cs
- FixedBufferAttribute.cs
- ObjectSerializerFactory.cs
- DataServiceContext.cs
- HtmlShim.cs
- ConfigurationElementCollection.cs
- webproxy.cs
- ContextProperty.cs
- CodePageUtils.cs
- VectorCollectionValueSerializer.cs
- TextCompositionManager.cs
- OLEDB_Util.cs
- x509store.cs
- RichTextBoxAutomationPeer.cs
- XmlWriterTraceListener.cs
- XPathExpr.cs
- WebRequestModuleElement.cs
- Point.cs
- IPPacketInformation.cs
- Predicate.cs
- HtmlImage.cs
- FileDialogCustomPlacesCollection.cs
- XmlBinaryReaderSession.cs
- FontWeights.cs
- DbFunctionCommandTree.cs
- ReadOnlyDataSourceView.cs
- FieldDescriptor.cs
- UserMapPath.cs
- GeneralTransformCollection.cs
- BulletedListEventArgs.cs
- Transform.cs
- TypeLoadException.cs
- EventLogException.cs
- XamlPointCollectionSerializer.cs
- RepeaterCommandEventArgs.cs
- HtmlHistory.cs
- RefreshPropertiesAttribute.cs
- wgx_render.cs
- CodeMethodReturnStatement.cs
- PerformanceCounterManager.cs
- DiagnosticTraceSource.cs
- SqlCacheDependencyDatabaseCollection.cs
- ContextMenuStripGroupCollection.cs
- PrePrepareMethodAttribute.cs
- TreeNodeBindingDepthConverter.cs
- GroupBoxRenderer.cs
- IntSecurity.cs
- Number.cs
- BuilderPropertyEntry.cs
- DrawingAttributes.cs
- EntityProxyFactory.cs
- RootBrowserWindowProxy.cs
- TreeViewImageIndexConverter.cs
- WindowsStreamSecurityUpgradeProvider.cs
- GridViewItemAutomationPeer.cs
- NumericUpDownAcceleration.cs
- SelectionRange.cs
- DeclaredTypeValidatorAttribute.cs
- GridItem.cs
- smtpconnection.cs
- DateTimeSerializationSection.cs
- TriggerAction.cs
- documentsequencetextcontainer.cs
- TableLayoutCellPaintEventArgs.cs
- _RequestCacheProtocol.cs
- TraceEventCache.cs
- WebBaseEventKeyComparer.cs
- PrintPreviewControl.cs
- DataControlCommands.cs
- EntityDataSourceStatementEditorForm.cs
- TransformConverter.cs
- MessageBox.cs
- Canvas.cs
- DeclarativeCatalogPart.cs
- TileBrush.cs
- WebBrowser.cs
- DataGridViewCellConverter.cs
- ColorKeyFrameCollection.cs
- MSAAEventDispatcher.cs
- XamlWriter.cs
- MethodBody.cs
- PageEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- InfoCardSchemas.cs
- Matrix.cs
- OrderByLifter.cs
- FileClassifier.cs
- PolicyStatement.cs
- MenuStrip.cs
- DispatcherHookEventArgs.cs