Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / EditorBrowsableAttribute.cs / 1305376 / EditorBrowsableAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)] public sealed class EditorBrowsableAttribute :Attribute { private EditorBrowsableState browsableState; ///[To be supplied.] ////// public EditorBrowsableAttribute (EditorBrowsableState state) { browsableState = state; } ///[To be supplied.] ////// public EditorBrowsableAttribute () :this (EditorBrowsableState.Always) {} ///[To be supplied.] ////// public EditorBrowsableState State { get { return browsableState;} } public override bool Equals(object obj) { if (obj == this) { return true; } EditorBrowsableAttribute other = obj as EditorBrowsableAttribute; return (other != null) && other.browsableState == browsableState; } public override int GetHashCode() { return base.GetHashCode(); } } ///[To be supplied.] ////// public enum EditorBrowsableState { ///[To be supplied.] ////// Always, ///[To be supplied.] ////// Never, ///[To be supplied.] ////// Advanced } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)] public sealed class EditorBrowsableAttribute :Attribute { private EditorBrowsableState browsableState; ///[To be supplied.] ////// public EditorBrowsableAttribute (EditorBrowsableState state) { browsableState = state; } ///[To be supplied.] ////// public EditorBrowsableAttribute () :this (EditorBrowsableState.Always) {} ///[To be supplied.] ////// public EditorBrowsableState State { get { return browsableState;} } public override bool Equals(object obj) { if (obj == this) { return true; } EditorBrowsableAttribute other = obj as EditorBrowsableAttribute; return (other != null) && other.browsableState == browsableState; } public override int GetHashCode() { return base.GetHashCode(); } } ///[To be supplied.] ////// public enum EditorBrowsableState { ///[To be supplied.] ////// Always, ///[To be supplied.] ////// Never, ///[To be supplied.] ////// Advanced } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AtomEntry.cs
- OdbcErrorCollection.cs
- SystemException.cs
- AssociatedControlConverter.cs
- DynamicDataExtensions.cs
- RNGCryptoServiceProvider.cs
- JpegBitmapEncoder.cs
- NavigationWindowAutomationPeer.cs
- Message.cs
- SqlParameterizer.cs
- QueryExecutionOption.cs
- ClearCollection.cs
- TextModifierScope.cs
- ComponentRenameEvent.cs
- SystemIPInterfaceProperties.cs
- MonitoringDescriptionAttribute.cs
- QilStrConcatenator.cs
- TableLayoutRowStyleCollection.cs
- EngineSiteSapi.cs
- PreloadedPackages.cs
- DataGridViewEditingControlShowingEventArgs.cs
- CheckBoxAutomationPeer.cs
- CalendarDesigner.cs
- XmlHierarchicalDataSourceView.cs
- ResXFileRef.cs
- AnnotationAdorner.cs
- Model3D.cs
- CfgArc.cs
- CellLabel.cs
- PerformanceCounterPermissionAttribute.cs
- CompilerCollection.cs
- OleDbCommand.cs
- DataPagerFieldCollection.cs
- PartialCachingControl.cs
- KeyEventArgs.cs
- SchemaCollectionPreprocessor.cs
- TextFormatterHost.cs
- TypeNameConverter.cs
- EngineSite.cs
- XhtmlBasicTextBoxAdapter.cs
- DocumentReference.cs
- SafeArrayRankMismatchException.cs
- SourceLineInfo.cs
- AssemblyBuilder.cs
- InputBindingCollection.cs
- BitConverter.cs
- ExpressionBinding.cs
- WebPartRestoreVerb.cs
- EventHandlers.cs
- CaseStatementSlot.cs
- DictationGrammar.cs
- FontStyle.cs
- TableCell.cs
- ColorContextHelper.cs
- WindowsSolidBrush.cs
- ProcessModule.cs
- _AutoWebProxyScriptWrapper.cs
- SiteMapNodeItemEventArgs.cs
- ReachPrintTicketSerializer.cs
- NavigationCommands.cs
- PassportPrincipal.cs
- PolyQuadraticBezierSegment.cs
- SystemResources.cs
- IssuanceLicense.cs
- UnsafeNativeMethods.cs
- ScrollViewer.cs
- QueryOperationResponseOfT.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- MaskedTextBoxTextEditor.cs
- XmlSortKeyAccumulator.cs
- RTLAwareMessageBox.cs
- Margins.cs
- ExtenderHelpers.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PropertyMapper.cs
- AssemblyResourceLoader.cs
- ThousandthOfEmRealPoints.cs
- PreservationFileReader.cs
- DataControlImageButton.cs
- QilPatternVisitor.cs
- EntityDataSourceState.cs
- UrlPath.cs
- SizeF.cs
- Label.cs
- DrawItemEvent.cs
- ListSourceHelper.cs
- TypeToStringValueConverter.cs
- ControlBindingsCollection.cs
- RowParagraph.cs
- TriggerActionCollection.cs
- List.cs
- HTMLTagNameToTypeMapper.cs
- OrthographicCamera.cs
- SortExpressionBuilder.cs
- DataViewManagerListItemTypeDescriptor.cs
- DateTimeValueSerializer.cs
- QilParameter.cs
- ToolStripSeparator.cs
- DateTimeFormatInfoScanner.cs
- NodeCounter.cs