Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- StylusPointPropertyInfo.cs
- TextServicesProperty.cs
- SmtpCommands.cs
- FilteredXmlReader.cs
- CheckStoreFileValidityRequest.cs
- CodeNamespaceCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- TextParaLineResult.cs
- UserNameSecurityToken.cs
- RootBrowserWindowProxy.cs
- Content.cs
- ListBoxAutomationPeer.cs
- ReceiveSecurityHeader.cs
- UnmanagedMemoryStreamWrapper.cs
- FilterableAttribute.cs
- InvalidEnumArgumentException.cs
- Options.cs
- Visual3D.cs
- Vector3D.cs
- AutoFocusStyle.xaml.cs
- FrameworkContentElement.cs
- Panel.cs
- WebPartsSection.cs
- TailCallAnalyzer.cs
- ComponentChangingEvent.cs
- COM2ColorConverter.cs
- OwnerDrawPropertyBag.cs
- DataGridViewCellParsingEventArgs.cs
- ExpressionReplacer.cs
- EventProvider.cs
- BackStopAuthenticationModule.cs
- InputLangChangeEvent.cs
- EnumCodeDomSerializer.cs
- FormViewInsertedEventArgs.cs
- documentsequencetextpointer.cs
- TableRow.cs
- DuplicateWaitObjectException.cs
- JournalNavigationScope.cs
- ScrollContentPresenter.cs
- ComboBox.cs
- _NestedSingleAsyncResult.cs
- FirstMatchCodeGroup.cs
- TreeNodeClickEventArgs.cs
- RegistrySecurity.cs
- ProgressBarRenderer.cs
- CrossAppDomainChannel.cs
- BaseDataBoundControl.cs
- XmlSchemaSimpleTypeUnion.cs
- CommunicationObjectFaultedException.cs
- ToolStripManager.cs
- UnknownWrapper.cs
- WebPartConnectionsDisconnectVerb.cs
- SingleConverter.cs
- HttpResponseWrapper.cs
- CryptoApi.cs
- TreeNodeCollection.cs
- DataRecordObjectView.cs
- DrawingServices.cs
- MimeXmlImporter.cs
- HandleValueEditor.cs
- FragmentQuery.cs
- CommandDevice.cs
- LineVisual.cs
- QueryPageSettingsEventArgs.cs
- XamlFilter.cs
- SqlCacheDependency.cs
- ExecutionContext.cs
- EntityViewGenerator.cs
- DataListCommandEventArgs.cs
- FragmentNavigationEventArgs.cs
- SafeRightsManagementHandle.cs
- autovalidator.cs
- EditingCoordinator.cs
- OptimalBreakSession.cs
- _AutoWebProxyScriptHelper.cs
- CompressionTransform.cs
- MSHTMLHost.cs
- XamlParser.cs
- CharEntityEncoderFallback.cs
- __Error.cs
- FontWeightConverter.cs
- DataListCommandEventArgs.cs
- UpWmlMobileTextWriter.cs
- CodeMemberProperty.cs
- DiagnosticsElement.cs
- XsltSettings.cs
- TextDecoration.cs
- VerticalAlignConverter.cs
- ItemList.cs
- DiscoveryClientDocuments.cs
- PropertyChangedEventArgs.cs
- CodeTypeParameterCollection.cs
- HttpWriter.cs
- PlanCompilerUtil.cs
- LoginName.cs
- FontFamilyIdentifier.cs
- EdmFunction.cs
- XamlClipboardData.cs
- CodeSubDirectoriesCollection.cs
- GeometryValueSerializer.cs