Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1305376 / 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
- RenderTargetBitmap.cs
- Missing.cs
- CommonRemoteMemoryBlock.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- GatewayIPAddressInformationCollection.cs
- HttpCacheParams.cs
- HelpEvent.cs
- CookielessHelper.cs
- ExpressionBuilder.cs
- ObjectNotFoundException.cs
- HttpListenerRequest.cs
- HttpException.cs
- PropertyEmitter.cs
- Utils.cs
- WebPartTransformer.cs
- DataGridCommandEventArgs.cs
- JsonQNameDataContract.cs
- RuleSetBrowserDialog.cs
- ButtonColumn.cs
- ToolStripGrip.cs
- ExportOptions.cs
- SymbolType.cs
- GridViewRowEventArgs.cs
- XmlObjectSerializerWriteContextComplex.cs
- DataDocumentXPathNavigator.cs
- KnownTypesProvider.cs
- BulletedListEventArgs.cs
- _UriTypeConverter.cs
- ExclusiveTcpListener.cs
- ZoomPercentageConverter.cs
- FramingChannels.cs
- InternalBufferManager.cs
- GenerateTemporaryTargetAssembly.cs
- RemotingSurrogateSelector.cs
- TransformerConfigurationWizardBase.cs
- ExpressionBindingCollection.cs
- EventSetter.cs
- XdrBuilder.cs
- OrderablePartitioner.cs
- InfoCardProofToken.cs
- ServiceOperationParameter.cs
- SmiMetaData.cs
- DetailsViewModeEventArgs.cs
- ServiceDescription.cs
- FormViewInsertedEventArgs.cs
- DynamicPropertyHolder.cs
- PenContexts.cs
- DataGridViewCheckBoxCell.cs
- EntityViewGenerationConstants.cs
- FixUp.cs
- SymbolEqualComparer.cs
- UserControlParser.cs
- ToolStripOverflowButton.cs
- MetaDataInfo.cs
- HMAC.cs
- XXXOnTypeBuilderInstantiation.cs
- WindowsIdentity.cs
- XPathNodeInfoAtom.cs
- SpecialNameAttribute.cs
- AssociatedControlConverter.cs
- EmbeddedMailObjectsCollection.cs
- wgx_exports.cs
- NameValuePermission.cs
- XsltLoader.cs
- DataColumnMappingCollection.cs
- SelectionHighlightInfo.cs
- NonParentingControl.cs
- StaticTextPointer.cs
- SystemBrushes.cs
- UIAgentAsyncEndRequest.cs
- Group.cs
- SerializableAttribute.cs
- EventMappingSettings.cs
- NativeMethods.cs
- ItemsControlAutomationPeer.cs
- SQLDateTime.cs
- DirectoryInfo.cs
- TypeInitializationException.cs
- SafeTimerHandle.cs
- DictionaryKeyPropertyAttribute.cs
- Nullable.cs
- XmlAnyElementAttribute.cs
- Bits.cs
- SettingsProperty.cs
- MsmqProcessProtocolHandler.cs
- StandardBindingCollectionElement.cs
- TextEndOfParagraph.cs
- TemplatePagerField.cs
- ScrollChrome.cs
- HtmlInputPassword.cs
- HwndKeyboardInputProvider.cs
- AttributeProviderAttribute.cs
- HighlightComponent.cs
- ExchangeUtilities.cs
- StringFunctions.cs
- RewritingValidator.cs
- ModelVisual3D.cs
- Currency.cs
- FlowchartSizeFeature.cs
- Vector3DCollectionValueSerializer.cs