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
- ElementHostAutomationPeer.cs
- HtmlImage.cs
- EncryptedKey.cs
- BaseResourcesBuildProvider.cs
- ScriptReference.cs
- MultiTrigger.cs
- TextClipboardData.cs
- BitmapMetadata.cs
- TypeDescriptionProvider.cs
- PropertyMap.cs
- AndAlso.cs
- Exceptions.cs
- Reference.cs
- PageContentAsyncResult.cs
- TimerEventSubscriptionCollection.cs
- DragDropManager.cs
- FormatterServices.cs
- Clipboard.cs
- SqlDataSourceConfigureSelectPanel.cs
- ConfigurationValue.cs
- PhysicalFontFamily.cs
- Stack.cs
- HTMLTagNameToTypeMapper.cs
- DesignerVerbCollection.cs
- SqlComparer.cs
- ObjectIDGenerator.cs
- DateTimeUtil.cs
- XmlUtf8RawTextWriter.cs
- DbConnectionPoolOptions.cs
- ItemsChangedEventArgs.cs
- XmlConvert.cs
- StorageEntitySetMapping.cs
- DeviceContext2.cs
- ConfigXmlText.cs
- ArgumentsParser.cs
- ExitEventArgs.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SchemaElementLookUpTable.cs
- StrokeCollection.cs
- Expressions.cs
- CompressionTransform.cs
- ArrayWithOffset.cs
- ImageKeyConverter.cs
- OrderByLifter.cs
- ToolStripPanel.cs
- path.cs
- EntitySetBaseCollection.cs
- IResourceProvider.cs
- ActivityExecutionContext.cs
- AnchoredBlock.cs
- FixUpCollection.cs
- ToolStripOverflow.cs
- InnerItemCollectionView.cs
- UnsupportedPolicyOptionsException.cs
- DropShadowEffect.cs
- SolidColorBrush.cs
- MailAddressCollection.cs
- DiscoveryDocumentReference.cs
- Input.cs
- ProcessThread.cs
- GridEntryCollection.cs
- WorkflowOwnershipException.cs
- ISFTagAndGuidCache.cs
- ServiceModelConfiguration.cs
- DataGridViewCellConverter.cs
- SystemIPAddressInformation.cs
- QilSortKey.cs
- linebase.cs
- HtmlInputCheckBox.cs
- followingquery.cs
- PerformanceCountersElement.cs
- DropDownButton.cs
- TypeConverterHelper.cs
- TraceProvider.cs
- FtpWebRequest.cs
- XmlBinaryReaderSession.cs
- UnionCodeGroup.cs
- WebPartConnectionCollection.cs
- TextProperties.cs
- CompilerCollection.cs
- ConnectorMovedEventArgs.cs
- Matrix.cs
- SHA384Cng.cs
- MostlySingletonList.cs
- Durable.cs
- ExceptionAggregator.cs
- PerformanceCounterPermission.cs
- ProjectionPathBuilder.cs
- BitFlagsGenerator.cs
- ImageMap.cs
- VectorCollectionConverter.cs
- PackagePart.cs
- HiddenField.cs
- Popup.cs
- WaitForChangedResult.cs
- ObjectListCommandsPage.cs
- NameValuePair.cs
- RSAOAEPKeyExchangeFormatter.cs
- DataListItemEventArgs.cs
- Separator.cs