Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Services / IO / System / IO / IODescriptionAttribute.cs / 1 / IODescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.IO { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] public class IODescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public IODescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.IO { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] public class IODescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public IODescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WasEndpointConfigContainer.cs
- HiddenField.cs
- FontStyles.cs
- BaseCodeDomTreeGenerator.cs
- HasActivatableWorkflowEvent.cs
- DBCSCodePageEncoding.cs
- DynamicILGenerator.cs
- TextServicesManager.cs
- ProvidePropertyAttribute.cs
- RowTypeElement.cs
- _Events.cs
- Int64Converter.cs
- SoundPlayer.cs
- Camera.cs
- AuthenticationException.cs
- ArcSegment.cs
- ReachDocumentReferenceSerializer.cs
- GZipUtils.cs
- StreamDocument.cs
- GZipUtils.cs
- ConstructorArgumentAttribute.cs
- HttpFileCollection.cs
- CompoundFileIOPermission.cs
- SecurityDescriptor.cs
- HScrollProperties.cs
- StyleXamlParser.cs
- HierarchicalDataTemplate.cs
- ExceptionRoutedEventArgs.cs
- SecurityStateEncoder.cs
- RtType.cs
- InternalConfigRoot.cs
- ConfigurationValues.cs
- DeviceSpecificDesigner.cs
- TransactionCache.cs
- PointAnimationUsingPath.cs
- TimeoutConverter.cs
- IndexedString.cs
- MachineKeyValidationConverter.cs
- NeutralResourcesLanguageAttribute.cs
- FilteredDataSetHelper.cs
- ValidatorCollection.cs
- SerializationUtilities.cs
- Touch.cs
- MemberMemberBinding.cs
- OrthographicCamera.cs
- ToolStripSystemRenderer.cs
- BuildProvidersCompiler.cs
- ListBoxItemAutomationPeer.cs
- DateTimeUtil.cs
- XamlPathDataSerializer.cs
- PrincipalPermission.cs
- ChildrenQuery.cs
- ReadOnlyNameValueCollection.cs
- ProxyElement.cs
- SessionStateUtil.cs
- ObjectList.cs
- BitmapEffectInputConnector.cs
- XhtmlBasicCommandAdapter.cs
- FontSourceCollection.cs
- GetPageNumberCompletedEventArgs.cs
- NumericPagerField.cs
- SByte.cs
- SrgsText.cs
- HtmlMeta.cs
- TypedTableBaseExtensions.cs
- ObjectPersistData.cs
- OleStrCAMarshaler.cs
- SatelliteContractVersionAttribute.cs
- MappedMetaModel.cs
- DocumentDesigner.cs
- GeneralTransformGroup.cs
- RawTextInputReport.cs
- TextBounds.cs
- StorageScalarPropertyMapping.cs
- StickyNoteHelper.cs
- XmlUnspecifiedAttribute.cs
- UnauthorizedAccessException.cs
- ArrayMergeHelper.cs
- PreApplicationStartMethodAttribute.cs
- FixedHyperLink.cs
- CommandEventArgs.cs
- XmlSchemaDocumentation.cs
- CollectionContainer.cs
- TransformProviderWrapper.cs
- PathSegmentCollection.cs
- ProcessModelSection.cs
- ClientTarget.cs
- DeclarativeCatalogPart.cs
- StorageFunctionMapping.cs
- webbrowsersite.cs
- SubMenuStyleCollection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Splitter.cs
- PartitionResolver.cs
- WhitespaceRuleLookup.cs
- NumericUpDown.cs
- DataTableNewRowEvent.cs
- CharKeyFrameCollection.cs
- HyperLinkColumn.cs
- SatelliteContractVersionAttribute.cs