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
- TagMapInfo.cs
- WorkflowIdleBehavior.cs
- ColorPalette.cs
- ThousandthOfEmRealPoints.cs
- FrameworkContentElement.cs
- ISAPIRuntime.cs
- FormsIdentity.cs
- SiteMapHierarchicalDataSourceView.cs
- RegexNode.cs
- SqlMetaData.cs
- SiteMapDataSourceView.cs
- BindingExpressionUncommonField.cs
- AccessibilityHelperForVista.cs
- RunInstallerAttribute.cs
- MULTI_QI.cs
- IPPacketInformation.cs
- XmlNode.cs
- MulticastOption.cs
- JsonFormatGeneratorStatics.cs
- ProgressBar.cs
- PathFigureCollection.cs
- ThemeDictionaryExtension.cs
- ConversionHelper.cs
- XmlEncodedRawTextWriter.cs
- DeploymentSection.cs
- HttpProtocolReflector.cs
- DocumentXPathNavigator.cs
- GroupBox.cs
- PagedControl.cs
- WinFormsComponentEditor.cs
- OperationPerformanceCounters.cs
- COM2PropertyBuilderUITypeEditor.cs
- TypeInitializationException.cs
- HttpWebRequest.cs
- DayRenderEvent.cs
- FaultDescription.cs
- ActiveXHelper.cs
- CommandValueSerializer.cs
- CodeTypeReference.cs
- PagesSection.cs
- CodeStatementCollection.cs
- CollectionType.cs
- SchemaTypeEmitter.cs
- ContentControl.cs
- CompositeActivityTypeDescriptor.cs
- StrokeSerializer.cs
- Queue.cs
- StrokeDescriptor.cs
- X509Certificate2Collection.cs
- PlanCompiler.cs
- hwndwrapper.cs
- DocumentPageTextView.cs
- XmlDataSourceNodeDescriptor.cs
- StrokeDescriptor.cs
- Operand.cs
- IMembershipProvider.cs
- DataGridViewCellEventArgs.cs
- CustomError.cs
- TextDecorationCollection.cs
- ZoomPercentageConverter.cs
- TextParagraphView.cs
- InkSerializer.cs
- OracleParameterBinding.cs
- StyleHelper.cs
- LockRecursionException.cs
- Permission.cs
- ISAPIApplicationHost.cs
- TemporaryBitmapFile.cs
- XLinq.cs
- RegexTree.cs
- MessageQueuePermissionEntryCollection.cs
- UICuesEvent.cs
- TextTreeTextNode.cs
- SourceFileInfo.cs
- TextBoxDesigner.cs
- ItemMap.cs
- XmlSchemaSequence.cs
- SystemIPInterfaceStatistics.cs
- SystemFonts.cs
- DataGridItem.cs
- DocumentGridContextMenu.cs
- RayMeshGeometry3DHitTestResult.cs
- MetadataItemEmitter.cs
- MessageDecoder.cs
- AttributeTableBuilder.cs
- ArcSegment.cs
- PrintingPermissionAttribute.cs
- WindowsRichEdit.cs
- AssociationSetMetadata.cs
- RichListBox.cs
- _AcceptOverlappedAsyncResult.cs
- ServiceBusyException.cs
- HtmlInputHidden.cs
- CryptoKeySecurity.cs
- Vector3DValueSerializer.cs
- util.cs
- TextWriter.cs
- BitArray.cs
- NameSpaceExtractor.cs
- PngBitmapDecoder.cs