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
- CultureTableRecord.cs
- StoreAnnotationsMap.cs
- RadioButtonList.cs
- CombinedGeometry.cs
- EntryPointNotFoundException.cs
- TCEAdapterGenerator.cs
- InstanceCreationEditor.cs
- DSACryptoServiceProvider.cs
- SimpleLine.cs
- arabicshape.cs
- CodePropertyReferenceExpression.cs
- LinqExpressionNormalizer.cs
- TrackingProfileCache.cs
- MultilineStringConverter.cs
- MetadataArtifactLoaderCompositeFile.cs
- ContentDesigner.cs
- ZipFileInfo.cs
- TransactionTable.cs
- DelayedRegex.cs
- NavigateEvent.cs
- Identifier.cs
- HtmlTableRowCollection.cs
- VectorAnimationUsingKeyFrames.cs
- CompositeControlDesigner.cs
- DesignerAttribute.cs
- TdsParserSessionPool.cs
- StrokeCollectionConverter.cs
- ValidatingReaderNodeData.cs
- StorageSetMapping.cs
- InputLanguage.cs
- xdrvalidator.cs
- LinqDataSourceInsertEventArgs.cs
- WebPartExportVerb.cs
- HttpHandlerActionCollection.cs
- PointHitTestResult.cs
- HitTestFilterBehavior.cs
- ControlEvent.cs
- SmiEventSink.cs
- PageContentCollection.cs
- ToolZone.cs
- ColorComboBox.cs
- ToolStripContainerDesigner.cs
- StretchValidation.cs
- SspiNegotiationTokenAuthenticator.cs
- CursorConverter.cs
- DBConnectionString.cs
- EntitySqlQueryCacheKey.cs
- Config.cs
- XmlTextReaderImpl.cs
- GradientBrush.cs
- ReadWriteSpinLock.cs
- SharedPersonalizationStateInfo.cs
- PathGeometry.cs
- ObjectStateEntryDbDataRecord.cs
- RankException.cs
- ToolStripTextBox.cs
- DeclaredTypeValidatorAttribute.cs
- FixedHyperLink.cs
- IPCCacheManager.cs
- ObjectItemConventionAssemblyLoader.cs
- ThumbButtonInfoCollection.cs
- DescendentsWalker.cs
- HttpCookieCollection.cs
- Header.cs
- XmlStreamedByteStreamReader.cs
- WindowsSysHeader.cs
- LogStore.cs
- SqlDependencyUtils.cs
- LocalizationParserHooks.cs
- Frame.cs
- VectorAnimation.cs
- BinaryObjectReader.cs
- WebSysDisplayNameAttribute.cs
- HtmlInputReset.cs
- ToolStripSplitButton.cs
- RSAOAEPKeyExchangeFormatter.cs
- SmiEventSink_Default.cs
- TrailingSpaceComparer.cs
- __TransparentProxy.cs
- CommonObjectSecurity.cs
- PathFigureCollectionConverter.cs
- HierarchicalDataSourceControl.cs
- VirtualPath.cs
- MonthCalendar.cs
- ShaderRenderModeValidation.cs
- Filter.cs
- TiffBitmapEncoder.cs
- RadioButtonStandardAdapter.cs
- HitTestResult.cs
- Stream.cs
- UIElementAutomationPeer.cs
- StorageEntityTypeMapping.cs
- RadioButtonFlatAdapter.cs
- SchemaType.cs
- ExtensionSimplifierMarkupObject.cs
- WebConfigurationManager.cs
- EntityParameter.cs
- DataGridItemCollection.cs
- SqlProfileProvider.cs
- GroupPartitionExpr.cs