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
- DesignerDataTable.cs
- XmlSchemaAttributeGroup.cs
- WindowsStartMenu.cs
- PartDesigner.cs
- TextFormatter.cs
- CodeLabeledStatement.cs
- DataRowComparer.cs
- OpenTypeCommon.cs
- CodeTypeReference.cs
- RoleGroup.cs
- InternalControlCollection.cs
- CurrentChangingEventManager.cs
- LayoutSettings.cs
- CharStorage.cs
- XpsSerializationManager.cs
- HierarchicalDataSourceControl.cs
- TabItemAutomationPeer.cs
- Stacktrace.cs
- CompiledRegexRunner.cs
- ImmComposition.cs
- NetPeerTcpBinding.cs
- MemberInfoSerializationHolder.cs
- TemplateLookupAction.cs
- PreviewKeyDownEventArgs.cs
- PeerApplicationLaunchInfo.cs
- TypeToArgumentTypeConverter.cs
- DataGridViewElement.cs
- ApplicationDirectoryMembershipCondition.cs
- Helpers.cs
- EdmScalarPropertyAttribute.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SecurityException.cs
- DelegatedStream.cs
- ProfileService.cs
- Pair.cs
- UnknownBitmapDecoder.cs
- PersonalizablePropertyEntry.cs
- Rectangle.cs
- XDRSchema.cs
- ThicknessAnimation.cs
- ParameterCollectionEditorForm.cs
- CodeIndexerExpression.cs
- User.cs
- GridItem.cs
- AssemblyName.cs
- CaseStatement.cs
- HostingEnvironmentSection.cs
- CmsInterop.cs
- WebRequest.cs
- Drawing.cs
- SafeArrayTypeMismatchException.cs
- XDeferredAxisSource.cs
- metadatamappinghashervisitor.cs
- CheckBoxBaseAdapter.cs
- DescendantOverDescendantQuery.cs
- UserNameServiceElement.cs
- EncryptedPackageFilter.cs
- SystemBrushes.cs
- RawMouseInputReport.cs
- DelegateHelpers.cs
- CacheManager.cs
- ClientSettingsProvider.cs
- CompiledRegexRunner.cs
- DataGridViewHeaderCell.cs
- TemplateNameScope.cs
- RadioButton.cs
- TiffBitmapDecoder.cs
- cookie.cs
- StateRuntime.cs
- QueryableFilterRepeater.cs
- CompositeDataBoundControl.cs
- OpacityConverter.cs
- SmtpMail.cs
- AttachmentCollection.cs
- EncodingNLS.cs
- DecimalStorage.cs
- StateMachineWorkflowDesigner.cs
- SessionStateUtil.cs
- Baml2006KeyRecord.cs
- IPipelineRuntime.cs
- XomlDesignerLoader.cs
- DesignerActionVerbList.cs
- IndependentlyAnimatedPropertyMetadata.cs
- HotSpot.cs
- Int64Animation.cs
- SmtpLoginAuthenticationModule.cs
- WinInet.cs
- XmlSchemaFacet.cs
- WebPartEditorCancelVerb.cs
- CodeMemberField.cs
- MemberInfoSerializationHolder.cs
- DetailsViewInsertEventArgs.cs
- SqlDataSourceQueryEditorForm.cs
- UpdatePanelTrigger.cs
- TdsParserHelperClasses.cs
- DbConnectionPoolCounters.cs
- DecimalAnimation.cs
- CryptoHelper.cs
- VirtualPath.cs
- TreeNodeClickEventArgs.cs