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
- UIElementPropertyUndoUnit.cs
- ExceptionHelpers.cs
- smtpconnection.cs
- CommandManager.cs
- TypeInitializationException.cs
- Deserializer.cs
- InstanceHandleConflictException.cs
- SqlHelper.cs
- TextEmbeddedObject.cs
- SecurityTokenResolver.cs
- shaperfactoryquerycachekey.cs
- WindowsFont.cs
- MobileControlsSection.cs
- MetaData.cs
- MediaTimeline.cs
- ConstructorExpr.cs
- IriParsingElement.cs
- SharedUtils.cs
- XmlJsonWriter.cs
- X509Extension.cs
- DefaultValidator.cs
- FormatterServices.cs
- PropertyGridEditorPart.cs
- RouteParser.cs
- DynamicControl.cs
- PropertyValueChangedEvent.cs
- QuaternionAnimation.cs
- InputScopeManager.cs
- TypefaceMap.cs
- DataSourceHelper.cs
- ReferentialConstraintRoleElement.cs
- OracleMonthSpan.cs
- ProcessModuleCollection.cs
- HttpInputStream.cs
- DbMetaDataColumnNames.cs
- RIPEMD160Managed.cs
- ApplicationId.cs
- XmlSchemaSimpleContent.cs
- Timer.cs
- OdbcEnvironmentHandle.cs
- NativeCppClassAttribute.cs
- HttpResponseHeader.cs
- Resources.Designer.cs
- MenuRendererClassic.cs
- DetailsViewPagerRow.cs
- ActiveXHost.cs
- LoadGrammarCompletedEventArgs.cs
- SafeMILHandleMemoryPressure.cs
- BridgeDataRecord.cs
- DefaultPrintController.cs
- ListContractAdapter.cs
- ActivityDelegate.cs
- WbmpConverter.cs
- TabItemWrapperAutomationPeer.cs
- EntityException.cs
- FormCollection.cs
- PointLightBase.cs
- CellPartitioner.cs
- EmptyWorkItem.cs
- FunctionUpdateCommand.cs
- QilTernary.cs
- OletxCommittableTransaction.cs
- QueryContinueDragEvent.cs
- LinqDataSourceStatusEventArgs.cs
- VScrollBar.cs
- WindowsListViewSubItem.cs
- DataGridViewRow.cs
- QuadraticBezierSegment.cs
- XmlHierarchicalEnumerable.cs
- ResolveDuplexAsyncResult.cs
- SqlConnection.cs
- DBAsyncResult.cs
- PopupRootAutomationPeer.cs
- SqlDataSourceQueryEditor.cs
- CodeStatementCollection.cs
- XmlSchemaAny.cs
- QuaternionAnimation.cs
- Rights.cs
- NavigationWindow.cs
- SiteIdentityPermission.cs
- InstanceKeyNotReadyException.cs
- MimeXmlImporter.cs
- XsdDataContractExporter.cs
- PrintingPermission.cs
- DateTimeOffsetStorage.cs
- JsonWriter.cs
- CounterCreationData.cs
- VirtualPath.cs
- BevelBitmapEffect.cs
- XmlQueryRuntime.cs
- DataControlImageButton.cs
- Timer.cs
- lengthconverter.cs
- ShowExpandedMultiValueConverter.cs
- TreeViewHitTestInfo.cs
- QueryOpeningEnumerator.cs
- ColorTransformHelper.cs
- ContentWrapperAttribute.cs
- ActivityCompletionCallbackWrapper.cs
- HierarchicalDataSourceControl.cs