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
- PassportPrincipal.cs
- X509Chain.cs
- XmlAttributeProperties.cs
- SpanIndex.cs
- AutomationIdentifier.cs
- MetadataItemEmitter.cs
- ListViewGroup.cs
- SqlAliasesReferenced.cs
- Array.cs
- RelatedImageListAttribute.cs
- ConfigXmlText.cs
- Expression.cs
- LookupBindingPropertiesAttribute.cs
- CustomValidator.cs
- TypePropertyEditor.cs
- DataRowExtensions.cs
- XPathBinder.cs
- InvalidContentTypeException.cs
- SingleObjectCollection.cs
- FacetValueContainer.cs
- SqlDataSourceRefreshSchemaForm.cs
- UriTemplateDispatchFormatter.cs
- DocumentGridContextMenu.cs
- DBConnection.cs
- HitTestResult.cs
- ZipIOExtraFieldElement.cs
- StrongNameMembershipCondition.cs
- DbDataAdapter.cs
- DelegatedStream.cs
- WebResourceAttribute.cs
- SqlBulkCopyColumnMapping.cs
- OleDbException.cs
- TextBoxAutomationPeer.cs
- Gdiplus.cs
- DataGridSortCommandEventArgs.cs
- ResourceWriter.cs
- LookupNode.cs
- ReflectEventDescriptor.cs
- StatusBarPanel.cs
- RightsManagementEncryptionTransform.cs
- MimeTypeAttribute.cs
- QilReference.cs
- WindowsBrush.cs
- DefaultBinder.cs
- Keyboard.cs
- MetadataCacheItem.cs
- Lease.cs
- ResponseStream.cs
- RewritingSimplifier.cs
- path.cs
- WebColorConverter.cs
- SemaphoreFullException.cs
- FileLogRecord.cs
- SqlFormatter.cs
- SiteMapNodeItem.cs
- HttpRuntime.cs
- JoinTreeSlot.cs
- AnnotationHighlightLayer.cs
- HtmlForm.cs
- CatalogPart.cs
- CommandField.cs
- DecimalAnimationBase.cs
- UInt16.cs
- Queue.cs
- KerberosRequestorSecurityToken.cs
- TCPListener.cs
- _NetworkingPerfCounters.cs
- Random.cs
- IntegerCollectionEditor.cs
- selecteditemcollection.cs
- SqlExpander.cs
- QilGeneratorEnv.cs
- GenerateScriptTypeAttribute.cs
- AnonymousIdentificationSection.cs
- ObjectDataSourceView.cs
- MarkupExtensionSerializer.cs
- DurableInstanceManager.cs
- TableLayoutSettingsTypeConverter.cs
- ResourceReferenceExpression.cs
- TrustSection.cs
- NameObjectCollectionBase.cs
- NotSupportedException.cs
- StateRuntime.cs
- SimpleTypeResolver.cs
- SystemIPv4InterfaceProperties.cs
- InvalidDataException.cs
- EditBehavior.cs
- ClientSettings.cs
- formatstringdialog.cs
- WrappingXamlSchemaContext.cs
- ResolveMatchesMessageCD1.cs
- XamlPointCollectionSerializer.cs
- OdbcPermission.cs
- DocumentXPathNavigator.cs
- WebBrowserNavigatedEventHandler.cs
- BitmapEffect.cs
- Int32Rect.cs
- entitydatasourceentitysetnameconverter.cs
- PingReply.cs
- VisualStyleElement.cs