Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1305376 / WebSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { 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)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the description text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { 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)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Retrieves the description text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- JumpList.cs
- FileNameEditor.cs
- ScopeElementCollection.cs
- SqlTransaction.cs
- EntityKey.cs
- DrawingCollection.cs
- DefaultEventAttribute.cs
- FillRuleValidation.cs
- DependsOnAttribute.cs
- WebRequest.cs
- OLEDB_Enum.cs
- ProcessProtocolHandler.cs
- ButtonChrome.cs
- ScriptIgnoreAttribute.cs
- DefaultEventAttribute.cs
- UnaryQueryOperator.cs
- StylusTip.cs
- DataGridViewSelectedColumnCollection.cs
- ObjectStateManagerMetadata.cs
- WindowsEditBoxRange.cs
- NetworkCredential.cs
- ContextProperty.cs
- DayRenderEvent.cs
- WindowsToolbarAsMenu.cs
- TimeSpanStorage.cs
- BufferModeSettings.cs
- ConnectionConsumerAttribute.cs
- FlowDocument.cs
- Int16KeyFrameCollection.cs
- dbenumerator.cs
- TreeNodeCollectionEditor.cs
- SqlDataSourceCommandEventArgs.cs
- FontStretch.cs
- CanonicalFontFamilyReference.cs
- TextAction.cs
- ManagementBaseObject.cs
- VisualTarget.cs
- XPathNavigator.cs
- Converter.cs
- AlternationConverter.cs
- ControlBuilder.cs
- VersionedStreamOwner.cs
- EventLogRecord.cs
- StandardTransformFactory.cs
- UserMapPath.cs
- HtmlWindow.cs
- SendDesigner.xaml.cs
- CompiledIdentityConstraint.cs
- EventArgs.cs
- ReferencedType.cs
- XmlText.cs
- UnsafeNativeMethods.cs
- ServiceModelSectionGroup.cs
- Operator.cs
- ParseElement.cs
- XmlCountingReader.cs
- DetailsViewRow.cs
- TraceSection.cs
- TheQuery.cs
- LinqDataSourceStatusEventArgs.cs
- MetadataArtifactLoaderComposite.cs
- DesignerActionMethodItem.cs
- GetChildSubtree.cs
- EdmComplexPropertyAttribute.cs
- SafeProcessHandle.cs
- MemberHolder.cs
- ResourceReferenceExpression.cs
- DataTableReader.cs
- SurrogateEncoder.cs
- CommonRemoteMemoryBlock.cs
- BooleanKeyFrameCollection.cs
- TabControlAutomationPeer.cs
- ProtocolInformationReader.cs
- CodeGroup.cs
- StackOverflowException.cs
- UInt16Converter.cs
- DynamicResourceExtensionConverter.cs
- DataSourceCache.cs
- FileCodeGroup.cs
- GeneratedContractType.cs
- TreeSet.cs
- CacheEntry.cs
- Renderer.cs
- SQLCharsStorage.cs
- DataServiceCollectionOfT.cs
- StringInfo.cs
- StatusBarDrawItemEvent.cs
- DrawingImage.cs
- IgnoreSectionHandler.cs
- CacheForPrimitiveTypes.cs
- TreeNodeConverter.cs
- LongCountAggregationOperator.cs
- BitmapSource.cs
- SignedInfo.cs
- TreeBuilderXamlTranslator.cs
- activationcontext.cs
- AspNetHostingPermission.cs
- HashCodeCombiner.cs
- BitVector32.cs
- MetabaseReader.cs