Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / EditorBrowsableAttribute.cs / 1 / 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
- DesignerEditorPartChrome.cs
- ButtonBaseAdapter.cs
- ExpressionBuilder.cs
- DiagnosticTraceSource.cs
- DbConnectionPool.cs
- XmlElementAttribute.cs
- RegexNode.cs
- ExceptionUtil.cs
- DrawingContextDrawingContextWalker.cs
- ExpanderAutomationPeer.cs
- ListViewEditEventArgs.cs
- InkCanvas.cs
- VisualCollection.cs
- SerializationAttributes.cs
- SessionIDManager.cs
- InternalConfigRoot.cs
- StorageAssociationTypeMapping.cs
- TaiwanLunisolarCalendar.cs
- DataRow.cs
- _RegBlobWebProxyDataBuilder.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SystemResources.cs
- Function.cs
- Package.cs
- TraceLevelStore.cs
- BooleanKeyFrameCollection.cs
- FilterQueryOptionExpression.cs
- WebReferenceOptions.cs
- KeyValueConfigurationCollection.cs
- ProviderBase.cs
- WindowPatternIdentifiers.cs
- SHA512Managed.cs
- SoapInteropTypes.cs
- PreservationFileReader.cs
- QueueSurrogate.cs
- NavigationCommands.cs
- ColorMap.cs
- HtmlControl.cs
- TableAdapterManagerMethodGenerator.cs
- SiteOfOriginPart.cs
- RsaSecurityToken.cs
- Rijndael.cs
- XmlAttributes.cs
- NativeRecognizer.cs
- DoubleAnimationBase.cs
- DriveNotFoundException.cs
- XmlSchemaSimpleTypeRestriction.cs
- IntegerFacetDescriptionElement.cs
- WebServiceMethodData.cs
- DataGridViewBand.cs
- CapabilitiesPattern.cs
- X509Certificate2Collection.cs
- DataObjectCopyingEventArgs.cs
- TreeChangeInfo.cs
- WebConfigurationHost.cs
- FatalException.cs
- OpenTypeCommon.cs
- MultipleViewPattern.cs
- ClientBuildManagerCallback.cs
- ProtocolViolationException.cs
- PropertyState.cs
- TextFormatterContext.cs
- RepeaterCommandEventArgs.cs
- InvalidDataException.cs
- TemplatePartAttribute.cs
- BulletChrome.cs
- XPathSingletonIterator.cs
- StatusBarPanel.cs
- ComponentManagerBroker.cs
- COM2PropertyPageUITypeConverter.cs
- ParserContext.cs
- safelink.cs
- EventBindingService.cs
- TripleDES.cs
- WebRequestModulesSection.cs
- XsltSettings.cs
- SystemIcons.cs
- NodeFunctions.cs
- XmlNamedNodeMap.cs
- MenuItemStyle.cs
- FlowDocumentReaderAutomationPeer.cs
- TransformCryptoHandle.cs
- RenamedEventArgs.cs
- Keywords.cs
- SelectionRangeConverter.cs
- TimeStampChecker.cs
- CompilerHelpers.cs
- AsyncResult.cs
- AppearanceEditorPart.cs
- FramingDecoders.cs
- Rotation3D.cs
- CredentialCache.cs
- TextRangeEdit.cs
- VectorCollectionConverter.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- WebPartMinimizeVerb.cs
- ToolStripAdornerWindowService.cs
- UpdatePanel.cs
- DataGridViewDataConnection.cs
- ToolStripDropDownClosingEventArgs.cs