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
- _StreamFramer.cs
- BamlBinaryReader.cs
- CursorConverter.cs
- listitem.cs
- BookmarkOptionsHelper.cs
- MarshalByValueComponent.cs
- PanelDesigner.cs
- Keywords.cs
- WarningException.cs
- ExitEventArgs.cs
- PathSegmentCollection.cs
- HwndAppCommandInputProvider.cs
- XmlSchemaAll.cs
- LogLogRecordHeader.cs
- HttpFileCollection.cs
- GregorianCalendarHelper.cs
- DisplayMemberTemplateSelector.cs
- XmlEntityReference.cs
- DataServiceExpressionVisitor.cs
- DBNull.cs
- RoutedCommand.cs
- DecimalAnimationUsingKeyFrames.cs
- XmlNamespaceManager.cs
- keycontainerpermission.cs
- PartitionResolver.cs
- InstanceDescriptor.cs
- MediaScriptCommandRoutedEventArgs.cs
- QueryCursorEventArgs.cs
- TextRange.cs
- WsatAdminException.cs
- ReflectionUtil.cs
- RichTextBoxDesigner.cs
- StrokeNode.cs
- LocatorBase.cs
- webeventbuffer.cs
- TransformPatternIdentifiers.cs
- DataControlFieldCollection.cs
- LifetimeServices.cs
- EnumerableRowCollectionExtensions.cs
- ConfigXmlAttribute.cs
- LeaseManager.cs
- ControlValuePropertyAttribute.cs
- NameTable.cs
- ResumeStoryboard.cs
- SqlVersion.cs
- Control.cs
- GPRECT.cs
- MultiPageTextView.cs
- FixedPageProcessor.cs
- PointConverter.cs
- AbstractExpressions.cs
- ScriptComponentDescriptor.cs
- XmlSerializerVersionAttribute.cs
- DataMisalignedException.cs
- DynamicArgumentDialog.cs
- ServiceDescriptionData.cs
- StringFormat.cs
- BrowserCapabilitiesFactoryBase.cs
- AVElementHelper.cs
- TypeResolver.cs
- RecommendedAsConfigurableAttribute.cs
- PropertyDescriptor.cs
- XmlWellformedWriter.cs
- SeparatorAutomationPeer.cs
- WindowsPen.cs
- PeerName.cs
- PointConverter.cs
- SessionEndingEventArgs.cs
- TrackPointCollection.cs
- GridItemPatternIdentifiers.cs
- PolicyException.cs
- StringHelper.cs
- IpcServerChannel.cs
- XmlSchemaSequence.cs
- HyperLink.cs
- Light.cs
- SoapClientMessage.cs
- ConfigXmlWhitespace.cs
- QueuePathEditor.cs
- IssuedTokenClientCredential.cs
- FunctionParameter.cs
- TypeSystem.cs
- DesignerListAdapter.cs
- WinOEToolBoxItem.cs
- ByteAnimation.cs
- CodeTypeMember.cs
- DocumentApplicationJournalEntry.cs
- _Connection.cs
- DataGridViewLinkColumn.cs
- SqlStatistics.cs
- SevenBitStream.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TransformGroup.cs
- DesignOnlyAttribute.cs
- FixedMaxHeap.cs
- WebEventCodes.cs
- ExpressionBuilderContext.cs
- SymbolMethod.cs
- RemotingConfiguration.cs
- XmlSchemaAttributeGroupRef.cs