Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ConfigurationPropertyAttribute.cs
- SendKeys.cs
- Utilities.cs
- OutputCacheProfileCollection.cs
- ProviderException.cs
- Debug.cs
- ModuleBuilder.cs
- MsmqChannelListenerBase.cs
- AutoGeneratedField.cs
- _BufferOffsetSize.cs
- ScriptingScriptResourceHandlerSection.cs
- StreamAsIStream.cs
- DataAdapter.cs
- ScriptServiceAttribute.cs
- Bitmap.cs
- ObjectSet.cs
- MaskedTextBoxDesignerActionList.cs
- StreamInfo.cs
- PropertyEmitterBase.cs
- ExceptionNotification.cs
- DynamicExpression.cs
- HtmlShim.cs
- recordstatescratchpad.cs
- OleDbRowUpdatingEvent.cs
- SingleTagSectionHandler.cs
- ISAPIApplicationHost.cs
- DataTableReaderListener.cs
- ChtmlMobileTextWriter.cs
- TreeNodeCollectionEditor.cs
- NetPipeSectionData.cs
- GridViewDeletedEventArgs.cs
- FunctionImportMapping.cs
- X509Certificate2Collection.cs
- RotateTransform3D.cs
- SqlDataAdapter.cs
- ConfigurationSettings.cs
- WebPartEditorOkVerb.cs
- PersistenceTypeAttribute.cs
- XmlDocument.cs
- Visual3D.cs
- RequestUriProcessor.cs
- XamlStackWriter.cs
- coordinatorfactory.cs
- ExtenderProvidedPropertyAttribute.cs
- RedistVersionInfo.cs
- HttpListenerResponse.cs
- GraphicsPathIterator.cs
- Process.cs
- WebHttpBindingCollectionElement.cs
- HtmlTableCellCollection.cs
- GridProviderWrapper.cs
- DateTimeFormatInfo.cs
- CloudCollection.cs
- ExpandSegment.cs
- clipboard.cs
- Validator.cs
- PermissionSet.cs
- ZipFileInfo.cs
- CaseInsensitiveComparer.cs
- FileFormatException.cs
- RegistryDataKey.cs
- OdbcTransaction.cs
- ParameterElement.cs
- ToolStripGripRenderEventArgs.cs
- DataServiceRequestOfT.cs
- AssociationSetEnd.cs
- WinEventTracker.cs
- DataGridAutoFormat.cs
- DataGridViewRowCancelEventArgs.cs
- ByValueEqualityComparer.cs
- PreservationFileWriter.cs
- Padding.cs
- AppDomainManager.cs
- Frame.cs
- OdbcConnectionHandle.cs
- SamlAction.cs
- BamlBinaryWriter.cs
- AttributedMetaModel.cs
- RelOps.cs
- SQLBoolean.cs
- AlternationConverter.cs
- ObjectListField.cs
- Types.cs
- DataViewSettingCollection.cs
- NativeMethods.cs
- Metafile.cs
- Membership.cs
- PointHitTestResult.cs
- TextBoxBase.cs
- TreeNodeCollection.cs
- HtmlForm.cs
- Style.cs
- UnsafeNativeMethods.cs
- HttpBindingExtension.cs
- XmlIlGenerator.cs
- DataPager.cs
- TrustLevel.cs
- SortedSetDebugView.cs
- CodeIdentifiers.cs
- XmlCustomFormatter.cs