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
- ApplicationId.cs
- ProjectionPruner.cs
- AutomationIdentifier.cs
- TypeDefinition.cs
- SmtpLoginAuthenticationModule.cs
- SqlError.cs
- TablePattern.cs
- AttachedAnnotation.cs
- Attributes.cs
- TreeNodeEventArgs.cs
- Stream.cs
- CalendarButtonAutomationPeer.cs
- PagerSettings.cs
- CopyAttributesAction.cs
- CorrelationActionMessageFilter.cs
- PasswordBox.cs
- ImageClickEventArgs.cs
- InfoCardKeyedHashAlgorithm.cs
- PreviewKeyDownEventArgs.cs
- HttpResponseWrapper.cs
- AppManager.cs
- HtmlElementEventArgs.cs
- FamilyTypeface.cs
- CollectionsUtil.cs
- DiscoveryDocumentLinksPattern.cs
- GridSplitter.cs
- LogicalTreeHelper.cs
- xmlglyphRunInfo.cs
- RequestCache.cs
- CharacterBuffer.cs
- AnnotationComponentChooser.cs
- ListBindableAttribute.cs
- ComNativeDescriptor.cs
- DoubleConverter.cs
- DataError.cs
- AvTraceFormat.cs
- SelectionBorderGlyph.cs
- BehaviorDragDropEventArgs.cs
- Panel.cs
- DivideByZeroException.cs
- Image.cs
- SafeWaitHandle.cs
- ColorComboBox.cs
- ContentOnlyMessage.cs
- TypeToken.cs
- LowerCaseStringConverter.cs
- MarkupObject.cs
- WebDescriptionAttribute.cs
- CodeCastExpression.cs
- SecureStringHasher.cs
- ToolboxItemAttribute.cs
- StorageEntityTypeMapping.cs
- _IPv4Address.cs
- AddInActivator.cs
- TreeNodeEventArgs.cs
- SqlReferenceCollection.cs
- CompilerGeneratedAttribute.cs
- BufferAllocator.cs
- WebProxyScriptElement.cs
- WebPartDisplayModeEventArgs.cs
- TakeQueryOptionExpression.cs
- DigitShape.cs
- ObfuscationAttribute.cs
- WindowsComboBox.cs
- ValuePattern.cs
- ConfigUtil.cs
- Ops.cs
- SelectedDatesCollection.cs
- AppDomainManager.cs
- ObjectDataSourceView.cs
- DesignerTransactionCloseEvent.cs
- VisualBasicSettings.cs
- DocumentApplication.cs
- Point3DCollection.cs
- Thickness.cs
- ScriptReferenceBase.cs
- Point.cs
- IssuanceLicense.cs
- NamedPipeConnectionPoolSettings.cs
- XmlDomTextWriter.cs
- RegexCaptureCollection.cs
- XmlReader.cs
- DataProviderNameConverter.cs
- PermissionSetTriple.cs
- SplitterEvent.cs
- WorkflowDesigner.cs
- EmptyReadOnlyDictionaryInternal.cs
- Exception.cs
- TemplateParser.cs
- SchemaImporterExtension.cs
- sqlnorm.cs
- AppDomainManager.cs
- MenuItemBindingCollection.cs
- UiaCoreProviderApi.cs
- PropertyConverter.cs
- DirectoryLocalQuery.cs
- AudioStateChangedEventArgs.cs
- VerificationException.cs
- PageBuildProvider.cs
- OrderedDictionary.cs