Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Data / System / Data / DataSysAttribute.cs / 1 / DataSysAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- /* */ namespace System.Data { using System; using System.ComponentModel; ////// [AttributeUsage(AttributeTargets.All)] [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] #if WINFSInternalOnly internal #else public #endif class DataSysDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// ////// Constructs a new sys description. /// [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] public DataSysDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- /* */ namespace System.Data { using System; using System.ComponentModel; ////// [AttributeUsage(AttributeTargets.All)] [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] #if WINFSInternalOnly internal #else public #endif class DataSysDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// ////// Constructs a new sys description. /// [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] public DataSysDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleDbRowUpdatingEvent.cs
- ClientConfigPaths.cs
- CodeMethodInvokeExpression.cs
- AutomationPatternInfo.cs
- AsymmetricAlgorithm.cs
- basecomparevalidator.cs
- DynamicMethod.cs
- EventToken.cs
- UTF8Encoding.cs
- ProcessModuleCollection.cs
- TaskHelper.cs
- DbParameterHelper.cs
- XslCompiledTransform.cs
- UpnEndpointIdentityExtension.cs
- ServiceDeploymentInfo.cs
- Models.cs
- ExceptionUtil.cs
- recordstate.cs
- ListViewItem.cs
- AttributeCollection.cs
- ContainerUIElement3D.cs
- DataGridViewTextBoxCell.cs
- DataTableExtensions.cs
- Attribute.cs
- SystemBrushes.cs
- ModuleConfigurationInfo.cs
- Panel.cs
- NameTable.cs
- MouseOverProperty.cs
- AppendHelper.cs
- SByteStorage.cs
- EventHandlerList.cs
- ExpressionDumper.cs
- SingletonChannelAcceptor.cs
- ScriptingJsonSerializationSection.cs
- EntityException.cs
- HTMLTextWriter.cs
- NativeMethods.cs
- SpellerError.cs
- Focus.cs
- TransformDescriptor.cs
- Accessors.cs
- AxisAngleRotation3D.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SubMenuStyleCollection.cs
- ProjectedSlot.cs
- SevenBitStream.cs
- BindUriHelper.cs
- CookieProtection.cs
- WebBrowserPermission.cs
- InternalBufferOverflowException.cs
- SelectionProviderWrapper.cs
- ExpressionEditorAttribute.cs
- StrongNameUtility.cs
- ConstructorNeedsTagAttribute.cs
- JsonReader.cs
- EncryptedReference.cs
- VarInfo.cs
- NameValueConfigurationElement.cs
- MarshalByValueComponent.cs
- SafeCertificateContext.cs
- DataGridViewComboBoxColumn.cs
- TransformerTypeCollection.cs
- PinnedBufferMemoryStream.cs
- NetworkInformationException.cs
- TPLETWProvider.cs
- ModelUIElement3D.cs
- MachineSettingsSection.cs
- RestHandlerFactory.cs
- DataGridViewCellPaintingEventArgs.cs
- PresentationAppDomainManager.cs
- RadioButtonList.cs
- IconEditor.cs
- HttpDebugHandler.cs
- PanningMessageFilter.cs
- ConfigXmlDocument.cs
- DPCustomTypeDescriptor.cs
- LogicalTreeHelper.cs
- WindowsRegion.cs
- BinaryFormatterSinks.cs
- NameObjectCollectionBase.cs
- ProviderCommandInfoUtils.cs
- RowToParametersTransformer.cs
- comcontractssection.cs
- SqlParameter.cs
- SoapExtensionTypeElementCollection.cs
- SectionVisual.cs
- FreezableCollection.cs
- FormsAuthenticationModule.cs
- XmlSchemaImporter.cs
- DynamicMethod.cs
- TableLayout.cs
- CheckoutException.cs
- ImageListImageEditor.cs
- SchemaElement.cs
- SystemInformation.cs
- LineVisual.cs
- _Semaphore.cs
- ArrangedElement.cs
- CallbackWrapper.cs