Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } } }Retrieves the description text. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CommonRemoteMemoryBlock.cs
- IdentityHolder.cs
- SpecularMaterial.cs
- EntityDataSourceViewSchema.cs
- RuleProcessor.cs
- ConstructorBuilder.cs
- HtmlInputRadioButton.cs
- ConfigurationSettings.cs
- PersonalizationStateQuery.cs
- PackagePart.cs
- Operators.cs
- EntitySet.cs
- Rect3DValueSerializer.cs
- TrustSection.cs
- NetTcpBindingCollectionElement.cs
- BindingWorker.cs
- CursorConverter.cs
- StringUtil.cs
- SQLStringStorage.cs
- UnsafeNativeMethods.cs
- SQLDateTimeStorage.cs
- AsymmetricSecurityProtocol.cs
- InvokeWebService.cs
- SqlXml.cs
- CodeNamespaceImport.cs
- Point.cs
- WmpBitmapDecoder.cs
- RuntimeIdentifierPropertyAttribute.cs
- Rect3DValueSerializer.cs
- CreateUserErrorEventArgs.cs
- EntityProviderServices.cs
- HttpClientProtocol.cs
- BuildProviderAppliesToAttribute.cs
- ModuleElement.cs
- XMLSyntaxException.cs
- InkCanvasSelection.cs
- CompilerCollection.cs
- SettingsSavedEventArgs.cs
- Scripts.cs
- FixedSOMTableRow.cs
- PropertyOverridesTypeEditor.cs
- RenameRuleObjectDialog.cs
- Matrix3DConverter.cs
- SkewTransform.cs
- ScriptReferenceBase.cs
- NullableDecimalAverageAggregationOperator.cs
- ErasingStroke.cs
- HandleValueEditor.cs
- DynamicPropertyHolder.cs
- DelegateArgumentValue.cs
- DataListItemEventArgs.cs
- WindowsFormsLinkLabel.cs
- DbConnectionStringBuilder.cs
- WindowsTitleBar.cs
- MsmqIntegrationBindingCollectionElement.cs
- KeySpline.cs
- ListViewInsertEventArgs.cs
- XXXInfos.cs
- NullableFloatMinMaxAggregationOperator.cs
- BaseContextMenu.cs
- HttpHeaderCollection.cs
- XmlSignatureProperties.cs
- SchemaCollectionPreprocessor.cs
- StyleCollectionEditor.cs
- ConnectionOrientedTransportElement.cs
- BitmapInitialize.cs
- XmlTextReaderImpl.cs
- AuthenticateEventArgs.cs
- CryptoKeySecurity.cs
- BitmapSourceSafeMILHandle.cs
- Boolean.cs
- AsmxEndpointPickerExtension.cs
- OleDbCommand.cs
- UserInitiatedRoutedEventPermission.cs
- ListBoxItemAutomationPeer.cs
- TranslateTransform.cs
- StylusOverProperty.cs
- HebrewNumber.cs
- SafeEventLogReadHandle.cs
- PassportAuthenticationEventArgs.cs
- NativeObjectSecurity.cs
- GcSettings.cs
- KeyEvent.cs
- counter.cs
- RequestQueue.cs
- ParameterCollectionEditorForm.cs
- Quad.cs
- CurrencyWrapper.cs
- ReferentialConstraint.cs
- TextOnlyOutput.cs
- ExtendedPropertyCollection.cs
- Cursors.cs
- AutoCompleteStringCollection.cs
- WebBrowser.cs
- DataStorage.cs
- CodeAttachEventStatement.cs
- LassoHelper.cs
- rsa.cs
- UrlPath.cs
- UIElement3D.cs