Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the description text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RoleProviderPrincipal.cs
- ExtensionSimplifierMarkupObject.cs
- HierarchicalDataSourceControl.cs
- CLSCompliantAttribute.cs
- OdbcError.cs
- FtpWebResponse.cs
- SnapshotChangeTrackingStrategy.cs
- EmptyCollection.cs
- UnauthorizedWebPart.cs
- ModelPerspective.cs
- RSAOAEPKeyExchangeFormatter.cs
- Ops.cs
- FixedTextSelectionProcessor.cs
- ActivityExecutor.cs
- SqlCacheDependencySection.cs
- EmptyCollection.cs
- BaseParagraph.cs
- RuntimeResourceSet.cs
- RuntimeHandles.cs
- CopyNamespacesAction.cs
- QueryStringParameter.cs
- SafeNativeMethods.cs
- TemplateAction.cs
- ChannelServices.cs
- StaticResourceExtension.cs
- StylusPointPropertyInfo.cs
- Transform3D.cs
- BinHexEncoding.cs
- XpsS0ValidatingLoader.cs
- FontCollection.cs
- WebControlsSection.cs
- Menu.cs
- ListItemsCollectionEditor.cs
- ProfileGroupSettingsCollection.cs
- CommentAction.cs
- AxisAngleRotation3D.cs
- WrapPanel.cs
- ModelVisual3D.cs
- PngBitmapEncoder.cs
- Blend.cs
- _KerberosClient.cs
- FunctionOverloadResolver.cs
- FileAuthorizationModule.cs
- OdbcConnectionHandle.cs
- HtmlHead.cs
- BufferModeSettings.cs
- HealthMonitoringSectionHelper.cs
- ThreadExceptionDialog.cs
- SchemaComplexType.cs
- SequentialOutput.cs
- RemotingSurrogateSelector.cs
- InputLanguage.cs
- BitmapEffect.cs
- Compiler.cs
- ResolvePPIDRequest.cs
- MatrixCamera.cs
- XmlSerializationWriter.cs
- HttpContextBase.cs
- WindowsFormsLinkLabel.cs
- InputBuffer.cs
- RuntimeArgumentHandle.cs
- OAVariantLib.cs
- XamlStream.cs
- CodeTypeOfExpression.cs
- Rotation3D.cs
- ConfigLoader.cs
- ConstraintManager.cs
- Int16Storage.cs
- PeerCollaboration.cs
- EntityType.cs
- ASCIIEncoding.cs
- StoreAnnotationsMap.cs
- PropertyEmitter.cs
- Separator.cs
- StatusBarItem.cs
- XmlTypeAttribute.cs
- RemoteDebugger.cs
- UIElementParagraph.cs
- RectangleF.cs
- SafeNativeMethods.cs
- PeerPresenceInfo.cs
- JournalEntry.cs
- SettingsProviderCollection.cs
- InsufficientMemoryException.cs
- TextBoxBase.cs
- Mappings.cs
- ImageAnimator.cs
- ShaderRenderModeValidation.cs
- ObjectDataSourceView.cs
- OdbcCommand.cs
- WindowsToolbarItemAsMenuItem.cs
- WeakEventManager.cs
- StylusButton.cs
- WeakReferenceList.cs
- ConstraintManager.cs
- ApplicationManager.cs
- DataSetMappper.cs
- CrossAppDomainChannel.cs
- DataGridViewCellPaintingEventArgs.cs
- ResXResourceReader.cs