Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ServicesUtilities.cs
- NavigateEvent.cs
- SoapInteropTypes.cs
- DataServiceHostFactory.cs
- Selector.cs
- SafeProcessHandle.cs
- webclient.cs
- InputMethodStateTypeInfo.cs
- ParseHttpDate.cs
- PropertyMap.cs
- CodeVariableDeclarationStatement.cs
- ApplicationCommands.cs
- EnumerableCollectionView.cs
- TypedElement.cs
- CompilerWrapper.cs
- UserControlCodeDomTreeGenerator.cs
- TextTreeUndo.cs
- ScrollChangedEventArgs.cs
- CodeTypeReferenceExpression.cs
- SafeReversePInvokeHandle.cs
- ParagraphResult.cs
- OleDbError.cs
- ExpressionBuilderCollection.cs
- IisTraceWebEventProvider.cs
- InvalidateEvent.cs
- CommandManager.cs
- sqlnorm.cs
- CallbackCorrelationInitializer.cs
- QilParameter.cs
- Bits.cs
- ValueType.cs
- DateRangeEvent.cs
- XappLauncher.cs
- OrElse.cs
- MailAddress.cs
- PerformanceCountersElement.cs
- DelayedRegex.cs
- WebPartZoneCollection.cs
- Mapping.cs
- GeneratedCodeAttribute.cs
- mansign.cs
- ListSurrogate.cs
- LabelLiteral.cs
- MimeFormatExtensions.cs
- View.cs
- Win32.cs
- XmlBuffer.cs
- ApplicationBuildProvider.cs
- TextDecorations.cs
- TypeToArgumentTypeConverter.cs
- TextRunCache.cs
- QuaternionAnimation.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DataGridViewColumnTypeEditor.cs
- StronglyTypedResourceBuilder.cs
- BamlTreeUpdater.cs
- MimeMapping.cs
- Guid.cs
- SqlUtils.cs
- ChannelTokenTypeConverter.cs
- DataGridViewRowEventArgs.cs
- AnnouncementInnerClientCD1.cs
- PageRanges.cs
- DataListItem.cs
- DataGridViewCellCollection.cs
- SingleResultAttribute.cs
- ProfileSettings.cs
- StorageEntitySetMapping.cs
- GenerateHelper.cs
- TextContainer.cs
- ValidatorCompatibilityHelper.cs
- EncoderExceptionFallback.cs
- ListMarkerLine.cs
- ObjectCacheHost.cs
- DateTimeStorage.cs
- CssTextWriter.cs
- FormatterServices.cs
- FileNotFoundException.cs
- FaultCallbackWrapper.cs
- EncoderExceptionFallback.cs
- DatatypeImplementation.cs
- SplineKeyFrames.cs
- ServiceDefaults.cs
- AllMembershipCondition.cs
- RectConverter.cs
- PolyQuadraticBezierSegment.cs
- ListManagerBindingsCollection.cs
- ObjectAssociationEndMapping.cs
- _Connection.cs
- CounterCreationDataConverter.cs
- TreeNode.cs
- DataKey.cs
- FrameworkObject.cs
- MenuTracker.cs
- ChangeProcessor.cs
- CustomErrorsSection.cs
- QueryCacheManager.cs
- ProxyBuilder.cs
- CompareValidator.cs
- QilGeneratorEnv.cs