Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1 / 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
- CodeArgumentReferenceExpression.cs
- WindowsRebar.cs
- hebrewshape.cs
- ScrollBar.cs
- DocumentPageTextView.cs
- AuthorizationSection.cs
- StateDesigner.TransitionInfo.cs
- ProxyElement.cs
- ControlCollection.cs
- DictionaryCustomTypeDescriptor.cs
- EventArgs.cs
- ShadowGlyph.cs
- OutputCacheEntry.cs
- SoapCodeExporter.cs
- Timer.cs
- PairComparer.cs
- FileUtil.cs
- RoleGroupCollection.cs
- DateTimeFormatInfoScanner.cs
- XmlEntity.cs
- AttachmentCollection.cs
- ReadingWritingEntityEventArgs.cs
- XPSSignatureDefinition.cs
- EdmFunctionAttribute.cs
- CompiledQueryCacheKey.cs
- TreeNodeStyle.cs
- SeparatorAutomationPeer.cs
- CodeExpressionCollection.cs
- _Win32.cs
- ContractInstanceProvider.cs
- GridViewSortEventArgs.cs
- Base64Stream.cs
- WebScriptMetadataFormatter.cs
- DataTableMappingCollection.cs
- HiddenFieldPageStatePersister.cs
- ObjectToIdCache.cs
- HtmlTextArea.cs
- MeshGeometry3D.cs
- Rules.cs
- FilteredReadOnlyMetadataCollection.cs
- CommandManager.cs
- PathFigure.cs
- XmlNamespaceMapping.cs
- SendingRequestEventArgs.cs
- UnmanagedMarshal.cs
- HiddenField.cs
- MissingManifestResourceException.cs
- StylusPointPropertyInfo.cs
- HtmlInputHidden.cs
- Int64AnimationUsingKeyFrames.cs
- XmlEntity.cs
- ChineseLunisolarCalendar.cs
- ITreeGenerator.cs
- List.cs
- ArgIterator.cs
- WMICapabilities.cs
- ToolBar.cs
- DataGridViewAdvancedBorderStyle.cs
- MachineSettingsSection.cs
- ScopeElementCollection.cs
- MetadataFile.cs
- Base64Encoder.cs
- mediaeventshelper.cs
- SelectingProviderEventArgs.cs
- ApplicationBuildProvider.cs
- RootDesignerSerializerAttribute.cs
- CompilationRelaxations.cs
- panel.cs
- Color.cs
- NotificationContext.cs
- AndCondition.cs
- CustomAttributeSerializer.cs
- DbConnectionHelper.cs
- PathFigure.cs
- ScrollProperties.cs
- ResourceKey.cs
- SqlServices.cs
- NavigatorInput.cs
- TimelineGroup.cs
- ConsoleKeyInfo.cs
- FlowchartDesigner.Helpers.cs
- StringOutput.cs
- CapiSafeHandles.cs
- Odbc32.cs
- SizeConverter.cs
- NameValueConfigurationCollection.cs
- SerializerDescriptor.cs
- DataObjectCopyingEventArgs.cs
- VectorAnimationUsingKeyFrames.cs
- HttpUnhandledOperationInvoker.cs
- ToolStripPanelDesigner.cs
- DoubleAnimationClockResource.cs
- XslCompiledTransform.cs
- __TransparentProxy.cs
- RemoteWebConfigurationHostStream.cs
- FrameworkRichTextComposition.cs
- SoapSchemaMember.cs
- ObjectDataSource.cs
- MouseGesture.cs
- TableLayoutStyleCollection.cs