Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- LoginCancelEventArgs.cs
- System.Data.OracleClient_BID.cs
- HttpServerChannel.cs
- LineServices.cs
- SchemaImporterExtension.cs
- WebPageTraceListener.cs
- ToolboxBitmapAttribute.cs
- formatter.cs
- ProgressPage.cs
- _HeaderInfoTable.cs
- CommandConverter.cs
- LocatorPartList.cs
- _FtpControlStream.cs
- ConstraintCollection.cs
- DataPagerFieldCommandEventArgs.cs
- HtmlTableRowCollection.cs
- EndpointNotFoundException.cs
- QilTernary.cs
- Keywords.cs
- ResourcesChangeInfo.cs
- SimpleBitVector32.cs
- DataGridSortCommandEventArgs.cs
- CultureTableRecord.cs
- WorkflowRuntimeServicesBehavior.cs
- DiagnosticsConfigurationHandler.cs
- SafeIUnknown.cs
- XPathDocumentBuilder.cs
- CLSCompliantAttribute.cs
- Panel.cs
- WebPartConnectionsCancelEventArgs.cs
- PlainXmlDeserializer.cs
- EdmPropertyAttribute.cs
- LabelDesigner.cs
- IndexerNameAttribute.cs
- AndMessageFilterTable.cs
- UnsafePeerToPeerMethods.cs
- Rectangle.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- GeneralTransform3DGroup.cs
- RoutedEventHandlerInfo.cs
- ForeignConstraint.cs
- CustomLineCap.cs
- OutOfProcStateClientManager.cs
- DataGridViewAddColumnDialog.cs
- XmlSchemaImporter.cs
- Thread.cs
- DialogBaseForm.cs
- Int64KeyFrameCollection.cs
- PerformanceCounterPermissionAttribute.cs
- JavascriptXmlWriterWrapper.cs
- RotateTransform3D.cs
- cookiecontainer.cs
- ContainerUIElement3D.cs
- ControlParser.cs
- CreateUserErrorEventArgs.cs
- StorageConditionPropertyMapping.cs
- MsmqIntegrationOutputChannel.cs
- TraceHandlerErrorFormatter.cs
- ChangeConflicts.cs
- XPathCompileException.cs
- CodeDelegateInvokeExpression.cs
- ChangeDirector.cs
- MethodCallTranslator.cs
- DefaultObjectSerializer.cs
- StatusBar.cs
- CustomError.cs
- TimeZoneInfo.cs
- KeyPressEvent.cs
- RSAOAEPKeyExchangeFormatter.cs
- StatusBarPanel.cs
- HtmlElement.cs
- KeyedPriorityQueue.cs
- ScrollProperties.cs
- ThreadStateException.cs
- CommandEventArgs.cs
- RuntimeWrappedException.cs
- LayoutUtils.cs
- SqlDataSourceEnumerator.cs
- SignatureDescription.cs
- CustomLineCap.cs
- TemplateControlParser.cs
- DataListItem.cs
- BaseDataBoundControlDesigner.cs
- SqlTypesSchemaImporter.cs
- filewebrequest.cs
- CodeDOMUtility.cs
- ToolboxCategoryItems.cs
- InfoCardService.cs
- MaskedTextBoxTextEditor.cs
- PagePropertiesChangingEventArgs.cs
- SqlServices.cs
- StackBuilderSink.cs
- DataListItem.cs
- DelayedRegex.cs
- x509store.cs
- InputReportEventArgs.cs
- DataGridCell.cs
- ColorConverter.cs
- InvokePatternIdentifiers.cs
- IdentitySection.cs