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
- WorkflowViewStateService.cs
- StringFreezingAttribute.cs
- Region.cs
- Button.cs
- DataControlCommands.cs
- NativeMethods.cs
- ImportCatalogPart.cs
- SafeSecurityHelper.cs
- DecodeHelper.cs
- UIPermission.cs
- SHA256.cs
- BreakSafeBase.cs
- ColorMatrix.cs
- TextReader.cs
- X509Extension.cs
- CriticalExceptions.cs
- ObjectSpanRewriter.cs
- InternalBufferOverflowException.cs
- MeasureItemEvent.cs
- Transform3D.cs
- AsymmetricSignatureFormatter.cs
- LineBreak.cs
- DrawingBrush.cs
- ThreadPool.cs
- NetDataContractSerializer.cs
- AuthStoreRoleProvider.cs
- UpdateManifestForBrowserApplication.cs
- Sql8ExpressionRewriter.cs
- ModifierKeysConverter.cs
- RotationValidation.cs
- PolyLineSegment.cs
- TimeoutTimer.cs
- SourceFilter.cs
- UniqueContractNameValidationBehavior.cs
- StorageRoot.cs
- ListParaClient.cs
- RestrictedTransactionalPackage.cs
- AssemblyAttributesGoHere.cs
- DesignerAttributeInfo.cs
- CompiledELinqQueryState.cs
- MDIClient.cs
- ServiceOperationParameter.cs
- SuppressMergeCheckAttribute.cs
- WebReferenceCollection.cs
- XmlNullResolver.cs
- ConstantCheck.cs
- RenderTargetBitmap.cs
- UrlUtility.cs
- SmtpMail.cs
- BamlLocalizabilityResolver.cs
- SharedPersonalizationStateInfo.cs
- Events.cs
- OleDbCommandBuilder.cs
- Soap12ProtocolImporter.cs
- DataGridPreparingCellForEditEventArgs.cs
- SelectionEditingBehavior.cs
- PackageProperties.cs
- MetadataProperty.cs
- XPathEmptyIterator.cs
- SpanIndex.cs
- DropAnimation.xaml.cs
- WebPartConnectionsEventArgs.cs
- AttachedPropertiesService.cs
- MailBnfHelper.cs
- ComponentRenameEvent.cs
- NumericUpDownAccelerationCollection.cs
- Visitors.cs
- ScrollChangedEventArgs.cs
- HostedBindingBehavior.cs
- OdbcConnectionPoolProviderInfo.cs
- sqlinternaltransaction.cs
- PrivilegedConfigurationManager.cs
- FileNotFoundException.cs
- LoginView.cs
- TemplateBindingExpression.cs
- GlobalItem.cs
- Int32Converter.cs
- TrackingExtract.cs
- TreeNodeCollectionEditorDialog.cs
- InvokePatternIdentifiers.cs
- ConstraintCollection.cs
- CustomAssemblyResolver.cs
- _ListenerRequestStream.cs
- DesignerVerbToolStripMenuItem.cs
- RangeValuePattern.cs
- WebBrowserBase.cs
- CompositeDispatchFormatter.cs
- BitmapEffectInput.cs
- KeyboardDevice.cs
- _IPv4Address.cs
- HttpErrorTraceRecord.cs
- DataBoundControlHelper.cs
- SrgsRule.cs
- GridViewSortEventArgs.cs
- CommonObjectSecurity.cs
- TypeTypeConverter.cs
- VideoDrawing.cs
- DateTimeFormatInfoScanner.cs
- MergeLocalizationDirectives.cs
- XPathNodeInfoAtom.cs