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
- XamlNamespaceHelper.cs
- JsonDataContract.cs
- DBNull.cs
- ValidationErrorEventArgs.cs
- TimelineGroup.cs
- PrimarySelectionAdorner.cs
- MetafileEditor.cs
- CurrentTimeZone.cs
- RectangleHotSpot.cs
- SimplePropertyEntry.cs
- ContractTypeNameCollection.cs
- ProxyManager.cs
- WebReferencesBuildProvider.cs
- FreezableOperations.cs
- SqlClientWrapperSmiStreamChars.cs
- PseudoWebRequest.cs
- TypeSchema.cs
- Transactions.cs
- TypeResolver.cs
- CompressedStack.cs
- SqlBulkCopyColumnMapping.cs
- OdbcHandle.cs
- ConfigurationSectionGroupCollection.cs
- CacheModeConverter.cs
- MemoryRecordBuffer.cs
- FieldToken.cs
- AssertUtility.cs
- PreProcessInputEventArgs.cs
- DBParameter.cs
- ProvideValueServiceProvider.cs
- XmlArrayItemAttributes.cs
- ServiceElementCollection.cs
- DrawingContextDrawingContextWalker.cs
- DataTableMapping.cs
- DelegatingConfigHost.cs
- DataBinding.cs
- OledbConnectionStringbuilder.cs
- ServiceRouteHandler.cs
- DataServiceHostWrapper.cs
- BaseValidator.cs
- HealthMonitoringSectionHelper.cs
- FlowDocumentReader.cs
- CheckBoxBaseAdapter.cs
- HttpCacheParams.cs
- SystemIPv6InterfaceProperties.cs
- OdbcParameterCollection.cs
- ScriptResourceHandler.cs
- BaseInfoTable.cs
- AnnotationResourceChangedEventArgs.cs
- Button.cs
- DrawListViewColumnHeaderEventArgs.cs
- BasicHttpBinding.cs
- XmlEntityReference.cs
- LexicalChunk.cs
- Options.cs
- DoubleMinMaxAggregationOperator.cs
- ListViewItem.cs
- WebEvents.cs
- IPHostEntry.cs
- TableLayoutStyle.cs
- ComponentResourceKeyConverter.cs
- ToolTip.cs
- MatrixTransform.cs
- MouseGestureValueSerializer.cs
- PeerResolverMode.cs
- TextContainerChangeEventArgs.cs
- TextTreeTextBlock.cs
- TimelineClockCollection.cs
- GenericUriParser.cs
- SemaphoreFullException.cs
- Object.cs
- SystemDropShadowChrome.cs
- DefaultTextStoreTextComposition.cs
- ObjectQueryExecutionPlan.cs
- NetworkAddressChange.cs
- IriParsingElement.cs
- BaseUriHelper.cs
- BasicExpressionVisitor.cs
- x509utils.cs
- TrustManagerPromptUI.cs
- TickBar.cs
- FocusManager.cs
- DictionaryContent.cs
- DateBoldEvent.cs
- TreeBuilderBamlTranslator.cs
- ButtonFlatAdapter.cs
- EndpointDiscoveryBehavior.cs
- MetaData.cs
- InstanceCollisionException.cs
- MenuItemStyleCollection.cs
- DoubleAnimationClockResource.cs
- WebControlsSection.cs
- TableLayoutStyleCollection.cs
- AutomationPatternInfo.cs
- XsdValidatingReader.cs
- DataGridLinkButton.cs
- XmlSignatureProperties.cs
- IpcChannel.cs
- UnsafeNativeMethods.cs
- DataErrorValidationRule.cs