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
- SqlReorderer.cs
- Matrix3D.cs
- SecurityChannelListener.cs
- SafeSecurityHelper.cs
- SubqueryRules.cs
- FunctionNode.cs
- RadioButtonList.cs
- ListViewDataItem.cs
- ConfigPathUtility.cs
- AsyncCompletedEventArgs.cs
- PropertyTabAttribute.cs
- ProxyHelper.cs
- EntityConnectionStringBuilderItem.cs
- ComboBoxItem.cs
- EncoderParameter.cs
- ToolCreatedEventArgs.cs
- CheckBox.cs
- ProgressBarHighlightConverter.cs
- WaitHandleCannotBeOpenedException.cs
- fixedPageContentExtractor.cs
- SocketElement.cs
- IIS7UserPrincipal.cs
- DesignerView.cs
- AdornerPresentationContext.cs
- ObjectListGeneralPage.cs
- TaskHelper.cs
- XPathParser.cs
- XmlSchemaElement.cs
- sitestring.cs
- CodeSubDirectoriesCollection.cs
- FormClosingEvent.cs
- DefaultBindingPropertyAttribute.cs
- NameValuePair.cs
- OracleDateTime.cs
- GPRECT.cs
- TraceRecord.cs
- XmlIlTypeHelper.cs
- HttpApplicationFactory.cs
- RemotingException.cs
- TimeIntervalCollection.cs
- DataTableReader.cs
- DataGridViewControlCollection.cs
- SmiEventSink_Default.cs
- MailMessage.cs
- GestureRecognizer.cs
- ExecutedRoutedEventArgs.cs
- GenericAuthenticationEventArgs.cs
- Matrix.cs
- SettingsPropertyCollection.cs
- SqlPersonalizationProvider.cs
- GenericAuthenticationEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- SamlAuthenticationStatement.cs
- AttachmentCollection.cs
- VisualStyleInformation.cs
- ContentElementCollection.cs
- ListViewGroupConverter.cs
- DoubleCollection.cs
- DBConcurrencyException.cs
- DataControlField.cs
- TextModifierScope.cs
- AuthenticationService.cs
- WebServiceErrorEvent.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ListViewInsertedEventArgs.cs
- HttpPostedFile.cs
- HttpListenerTimeoutManager.cs
- ThicknessKeyFrameCollection.cs
- ToolStripContextMenu.cs
- MetadataAssemblyHelper.cs
- CmsInterop.cs
- SqlServices.cs
- CollectionViewGroup.cs
- HttpWebResponse.cs
- RowType.cs
- FormViewRow.cs
- ResXDataNode.cs
- SqlCrossApplyToCrossJoin.cs
- sqlcontext.cs
- ObjectSecurity.cs
- GeneralTransform.cs
- PartitionedStream.cs
- Msmq.cs
- ColumnTypeConverter.cs
- XmlSchemaChoice.cs
- PolicyUnit.cs
- ResolveResponse.cs
- XPathConvert.cs
- CollectionMarkupSerializer.cs
- MinimizableAttributeTypeConverter.cs
- SqlCacheDependencyDatabaseCollection.cs
- GenericAuthenticationEventArgs.cs
- Pointer.cs
- AsyncPostBackTrigger.cs
- EntityConnection.cs
- OdbcStatementHandle.cs
- ProfileSettingsCollection.cs
- TypeNameParser.cs
- CodeAssignStatement.cs
- XPathBinder.cs