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
- _LocalDataStore.cs
- BuildProvidersCompiler.cs
- Stack.cs
- TextFragmentEngine.cs
- SolidColorBrush.cs
- ResourcesBuildProvider.cs
- XmlnsCompatibleWithAttribute.cs
- OdbcPermission.cs
- DecimalConverter.cs
- EpmContentSerializer.cs
- StrongNameMembershipCondition.cs
- TrackingMemoryStream.cs
- SafeTokenHandle.cs
- Int32Storage.cs
- QueryReaderSettings.cs
- AvTrace.cs
- NamespaceTable.cs
- AssemblyHash.cs
- CustomValidator.cs
- TextBoxAutomationPeer.cs
- sortedlist.cs
- ControlParameter.cs
- RotationValidation.cs
- CounterCreationDataCollection.cs
- SystemTcpConnection.cs
- DataQuery.cs
- TableItemPatternIdentifiers.cs
- ResourceDefaultValueAttribute.cs
- BidPrivateBase.cs
- SerialReceived.cs
- HtmlTernaryTree.cs
- ContentFileHelper.cs
- Single.cs
- EntityClientCacheEntry.cs
- StrongNamePublicKeyBlob.cs
- DropDownButton.cs
- SharedUtils.cs
- ObjectViewFactory.cs
- TableStyle.cs
- MouseOverProperty.cs
- RadioButtonAutomationPeer.cs
- AdapterUtil.cs
- Control.cs
- ChtmlTextBoxAdapter.cs
- TiffBitmapEncoder.cs
- SQLRoleProvider.cs
- FormsAuthenticationTicket.cs
- Exception.cs
- Rotation3D.cs
- FacetEnabledSchemaElement.cs
- TemplatedMailWebEventProvider.cs
- ReleaseInstanceMode.cs
- CellParagraph.cs
- TypefaceMetricsCache.cs
- AnonymousIdentificationSection.cs
- SelectionListComponentEditor.cs
- Command.cs
- StyleModeStack.cs
- WinInetCache.cs
- Int32.cs
- HtmlInputText.cs
- PageBuildProvider.cs
- dbenumerator.cs
- WebPart.cs
- ellipse.cs
- MemberBinding.cs
- ValidationEventArgs.cs
- ExtendedPropertyCollection.cs
- OutputCacheSettings.cs
- UIElementCollection.cs
- XmlBindingWorker.cs
- OdbcConnectionOpen.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- DoubleAverageAggregationOperator.cs
- SoapConverter.cs
- Grid.cs
- OracleConnectionStringBuilder.cs
- DSACryptoServiceProvider.cs
- GPStream.cs
- BitmapFrame.cs
- BamlTreeUpdater.cs
- ByteRangeDownloader.cs
- Empty.cs
- ErrorWebPart.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- RefreshPropertiesAttribute.cs
- QilVisitor.cs
- DataGridToolTip.cs
- HtmlWindow.cs
- StylusPoint.cs
- BigInt.cs
- Convert.cs
- ValueUnavailableException.cs
- TimeManager.cs
- ExpandSegmentCollection.cs
- XmlCompatibilityReader.cs
- ArglessEventHandlerProxy.cs
- ResourceContainer.cs
- followingquery.cs
- EdmToObjectNamespaceMap.cs