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
- VisualStyleTypesAndProperties.cs
- RecordsAffectedEventArgs.cs
- WindowsScrollBar.cs
- TraceUtility.cs
- Tuple.cs
- Transform3DCollection.cs
- FileStream.cs
- Internal.cs
- TableRow.cs
- DataGridViewCellCollection.cs
- Types.cs
- HelpKeywordAttribute.cs
- DataGridViewCellValueEventArgs.cs
- CompositeFontFamily.cs
- XamlValidatingReader.cs
- Canvas.cs
- EntityObject.cs
- CheckBoxRenderer.cs
- FixedFlowMap.cs
- SystemPens.cs
- EventProviderBase.cs
- Font.cs
- ResizeBehavior.cs
- PropertyPathConverter.cs
- GridViewColumnHeaderAutomationPeer.cs
- UnionCodeGroup.cs
- XPathPatternBuilder.cs
- ConfigurationPermission.cs
- Package.cs
- ImageField.cs
- DesignerActionUI.cs
- DesignerResources.cs
- PageTheme.cs
- ImageAnimator.cs
- TableRowGroup.cs
- ICspAsymmetricAlgorithm.cs
- ThreadPool.cs
- MachineSettingsSection.cs
- EntityCommandCompilationException.cs
- NamedElement.cs
- AddInAdapter.cs
- DataTemplate.cs
- StateValidator.cs
- MarkupObject.cs
- AssemblyBuilder.cs
- RealProxy.cs
- HttpDictionary.cs
- EventDescriptor.cs
- ApplicationHost.cs
- KeyedQueue.cs
- HelpKeywordAttribute.cs
- WCFModelStrings.Designer.cs
- TypeDependencyAttribute.cs
- SqlStream.cs
- RightNameExpirationInfoPair.cs
- HostingPreferredMapPath.cs
- DeploymentExceptionMapper.cs
- LayoutInformation.cs
- Mouse.cs
- ExpressionEvaluator.cs
- ContentType.cs
- ManagedWndProcTracker.cs
- SignedInfo.cs
- SettingsContext.cs
- WarningException.cs
- EntitySetDataBindingList.cs
- ExeContext.cs
- RenderContext.cs
- DocComment.cs
- WebPartEditorCancelVerb.cs
- FirstMatchCodeGroup.cs
- HtmlInputButton.cs
- RelationshipEnd.cs
- JsonEnumDataContract.cs
- ClaimComparer.cs
- IisTraceWebEventProvider.cs
- DocumentPage.cs
- DataPagerFieldCommandEventArgs.cs
- EntityDescriptor.cs
- CheckBoxStandardAdapter.cs
- DataViewManager.cs
- TargetParameterCountException.cs
- CounterSetInstanceCounterDataSet.cs
- ZipQueryOperator.cs
- SapiGrammar.cs
- RelationshipEntry.cs
- TreeNodeSelectionProcessor.cs
- documentsequencetextview.cs
- StrokeCollectionDefaultValueFactory.cs
- TableRowCollection.cs
- FixedPageProcessor.cs
- SpeakInfo.cs
- CurrentChangingEventManager.cs
- HotSpotCollection.cs
- SyndicationDeserializer.cs
- RegistrySecurity.cs
- DataGridViewTextBoxEditingControl.cs
- PhysicalOps.cs
- ChangeBlockUndoRecord.cs
- OutputCacheEntry.cs