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
- log.cs
- WebPartsPersonalization.cs
- PropertyPath.cs
- AppDomainAttributes.cs
- LabelAutomationPeer.cs
- TableLayoutColumnStyleCollection.cs
- ErrorProvider.cs
- InputLanguageProfileNotifySink.cs
- IndexOutOfRangeException.cs
- DataSourceControlBuilder.cs
- TemplateApplicationHelper.cs
- Int32Rect.cs
- BaseDataList.cs
- ContentFileHelper.cs
- ClipboardData.cs
- fixedPageContentExtractor.cs
- OdbcStatementHandle.cs
- ParameterModifier.cs
- IndexedDataBuffer.cs
- ActivationArguments.cs
- LookupNode.cs
- DecoderNLS.cs
- BooleanAnimationBase.cs
- SqlDataSourceFilteringEventArgs.cs
- AudioDeviceOut.cs
- StrongNameKeyPair.cs
- ButtonFieldBase.cs
- WeakHashtable.cs
- HwndSubclass.cs
- SchemaElementLookUpTableEnumerator.cs
- TextReader.cs
- Document.cs
- DataControlCommands.cs
- TextRangeEdit.cs
- FormViewDesigner.cs
- RoutedEventConverter.cs
- LocalizableAttribute.cs
- OleDbEnumerator.cs
- SpellCheck.cs
- NameTable.cs
- XmlObjectSerializerReadContextComplexJson.cs
- Encoder.cs
- MediaContext.cs
- CreatingCookieEventArgs.cs
- HtmlContainerControl.cs
- Process.cs
- UserControlDocumentDesigner.cs
- ConfigurationSectionGroupCollection.cs
- EditableTreeList.cs
- ParameterEditorUserControl.cs
- DesignerEditorPartChrome.cs
- LineBreak.cs
- ToolboxItemFilterAttribute.cs
- ErrorWrapper.cs
- ButtonStandardAdapter.cs
- HtmlAnchor.cs
- LayoutInformation.cs
- PointUtil.cs
- CurrencyWrapper.cs
- ToolStripDropTargetManager.cs
- MailMessage.cs
- GeometryGroup.cs
- Button.cs
- ChoiceConverter.cs
- GiveFeedbackEvent.cs
- NetworkInformationException.cs
- RawStylusInputCustomDataList.cs
- SecurityManager.cs
- Stack.cs
- TemplateField.cs
- UnitControl.cs
- FontSizeConverter.cs
- Debugger.cs
- TemplateBindingExpression.cs
- SQLByteStorage.cs
- ToolBarOverflowPanel.cs
- WebPartVerbsEventArgs.cs
- ColumnProvider.cs
- ListBoxItemAutomationPeer.cs
- HelpHtmlBuilder.cs
- SqlBulkCopy.cs
- EntityModelBuildProvider.cs
- NamespaceList.cs
- SchemaTableOptionalColumn.cs
- Expander.cs
- AnimationClockResource.cs
- TextPointer.cs
- ImpersonateTokenRef.cs
- Pkcs7Signer.cs
- SocketPermission.cs
- FileUpload.cs
- RSACryptoServiceProvider.cs
- DocumentPaginator.cs
- DataMemberFieldConverter.cs
- TypeSystemProvider.cs
- ActivityDesignerAccessibleObject.cs
- Predicate.cs
- StreamHelper.cs
- LoadWorkflowByKeyAsyncResult.cs
- TreeNodeConverter.cs