Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- InternalUserCancelledException.cs
- XmlUtil.cs
- UIAgentCrashedException.cs
- DriveInfo.cs
- Slider.cs
- GridViewAutomationPeer.cs
- DiagnosticsConfigurationHandler.cs
- HttpContextServiceHost.cs
- TCEAdapterGenerator.cs
- SafeEventLogWriteHandle.cs
- TemplatePartAttribute.cs
- EdmEntityTypeAttribute.cs
- ToolboxDataAttribute.cs
- DataSourceViewSchemaConverter.cs
- SHA512.cs
- ArrayElementGridEntry.cs
- XmlException.cs
- ContextQuery.cs
- DataControlImageButton.cs
- LinqToSqlWrapper.cs
- PbrsForward.cs
- OdbcParameter.cs
- RestClientProxyHandler.cs
- ArgumentsParser.cs
- SchemaElementLookUpTableEnumerator.cs
- XamlVector3DCollectionSerializer.cs
- BezierSegment.cs
- FlowDecisionLabelFeature.cs
- Compiler.cs
- MLangCodePageEncoding.cs
- DesignerRegion.cs
- ScriptControlManager.cs
- Calendar.cs
- ReceiveActivityDesigner.cs
- Translator.cs
- Component.cs
- XmlSchemaInfo.cs
- DBCSCodePageEncoding.cs
- ProfileParameter.cs
- XmlEnumAttribute.cs
- Run.cs
- DragEvent.cs
- TreeViewItem.cs
- BitmapEffectState.cs
- DataGridViewRowsRemovedEventArgs.cs
- ProjectionAnalyzer.cs
- __Filters.cs
- SqlMethodAttribute.cs
- NetPeerTcpBinding.cs
- GeneralTransform3DTo2D.cs
- BitmapPalette.cs
- DataGridToolTip.cs
- SmiGettersStream.cs
- DispatcherTimer.cs
- TextSpanModifier.cs
- Int16Storage.cs
- HttpCapabilitiesBase.cs
- ContentDisposition.cs
- MediaPlayerState.cs
- HttpListenerRequest.cs
- ServiceReference.cs
- WrapperEqualityComparer.cs
- UseAttributeSetsAction.cs
- UserControlParser.cs
- diagnosticsswitches.cs
- BamlResourceContent.cs
- CodeNamespaceImportCollection.cs
- ISO2022Encoding.cs
- DataViewManager.cs
- PathGeometry.cs
- ProgressBarAutomationPeer.cs
- DataControlLinkButton.cs
- RootProfilePropertySettingsCollection.cs
- peernodeimplementation.cs
- CodeConditionStatement.cs
- ColumnResizeUndoUnit.cs
- InternalConfigRoot.cs
- DynamicValueConverter.cs
- DataBindingHandlerAttribute.cs
- PageHandlerFactory.cs
- CodeTypeReferenceCollection.cs
- CodeExpressionCollection.cs
- IItemContainerGenerator.cs
- OperationAbortedException.cs
- WorkflowServiceNamespace.cs
- TextLineBreak.cs
- DateRangeEvent.cs
- DecoderFallbackWithFailureFlag.cs
- SettingsAttributeDictionary.cs
- PartitionResolver.cs
- SevenBitStream.cs
- MissingFieldException.cs
- VisualBrush.cs
- Win32Exception.cs
- UnsafeNativeMethods.cs
- SqlTriggerAttribute.cs
- MetadataAssemblyHelper.cs
- SystemWebSectionGroup.cs
- X509SecurityTokenProvider.cs
- KeyedCollection.cs