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
- CodeDOMProvider.cs
- IncrementalHitTester.cs
- DialogResultConverter.cs
- SimpleFieldTemplateUserControl.cs
- TraceSwitch.cs
- GenericQueueSurrogate.cs
- DataBindingHandlerAttribute.cs
- AutoGeneratedFieldProperties.cs
- RequestTimeoutManager.cs
- TreeViewItem.cs
- NavigationWindowAutomationPeer.cs
- BitmapDecoder.cs
- SafeSystemMetrics.cs
- PaintEvent.cs
- PathGeometry.cs
- EnumerableCollectionView.cs
- OleCmdHelper.cs
- Vector3DIndependentAnimationStorage.cs
- EnterpriseServicesHelper.cs
- InternalConfigSettingsFactory.cs
- SamlSubjectStatement.cs
- CustomExpressionEventArgs.cs
- ManagedIStream.cs
- CodeVariableDeclarationStatement.cs
- PageRanges.cs
- ByteKeyFrameCollection.cs
- XhtmlConformanceSection.cs
- PolyLineSegmentFigureLogic.cs
- FontSource.cs
- InvalidBodyAccessException.cs
- TrustManagerMoreInformation.cs
- _HTTPDateParse.cs
- RequestBringIntoViewEventArgs.cs
- ComboBoxItem.cs
- WebPartEditVerb.cs
- FrugalMap.cs
- SelectionItemProviderWrapper.cs
- RemoteX509Token.cs
- HtmlValidatorAdapter.cs
- NativeCppClassAttribute.cs
- Int32CollectionConverter.cs
- ListSortDescription.cs
- SessionState.cs
- formatter.cs
- ElementAction.cs
- AssociationSetMetadata.cs
- OleDbDataAdapter.cs
- SplayTreeNode.cs
- ThrowOnMultipleAssignment.cs
- TripleDESCryptoServiceProvider.cs
- DetailsViewDeleteEventArgs.cs
- XamlTreeBuilder.cs
- Matrix.cs
- ISAPIApplicationHost.cs
- RegionData.cs
- ElementMarkupObject.cs
- TemplateManager.cs
- KoreanCalendar.cs
- DbException.cs
- Queue.cs
- Adorner.cs
- HitTestParameters.cs
- BoundColumn.cs
- SslStream.cs
- String.cs
- EncodingNLS.cs
- Types.cs
- WindowsProgressbar.cs
- PeerApplicationLaunchInfo.cs
- EntitySqlQueryBuilder.cs
- SqlCrossApplyToCrossJoin.cs
- DrawingContextDrawingContextWalker.cs
- TypeGeneratedEventArgs.cs
- KeyInstance.cs
- ColorAnimationBase.cs
- HandlerBase.cs
- SineEase.cs
- HMACSHA384.cs
- Comparer.cs
- unitconverter.cs
- MetaModel.cs
- ClientScriptManagerWrapper.cs
- ProfessionalColors.cs
- CanonicalFontFamilyReference.cs
- CultureInfo.cs
- ValidationVisibilityAttribute.cs
- StylusDevice.cs
- WebPartDescriptionCollection.cs
- PointHitTestResult.cs
- EventBookmark.cs
- FlowSwitchDesigner.xaml.cs
- GeometryCollection.cs
- DigestComparer.cs
- Vector3DIndependentAnimationStorage.cs
- IISMapPath.cs
- BmpBitmapEncoder.cs
- UniformGrid.cs
- BitmapPalettes.cs
- CodeTypeDeclaration.cs
- WpfGeneratedKnownProperties.cs