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
- TimelineGroup.cs
- TaskScheduler.cs
- hebrewshape.cs
- IntSecurity.cs
- CursorConverter.cs
- WizardDesigner.cs
- BrushConverter.cs
- PlainXmlDeserializer.cs
- ToolBarButton.cs
- OracleFactory.cs
- SessionStateContainer.cs
- TraceContextEventArgs.cs
- CompiledQueryCacheEntry.cs
- ProgressBarRenderer.cs
- VerificationException.cs
- SiteMapPathDesigner.cs
- MediaCommands.cs
- WebPartVerbCollection.cs
- TableCellCollection.cs
- DelegateTypeInfo.cs
- InstanceView.cs
- CatalogZone.cs
- RuleSetDialog.Designer.cs
- ShutDownListener.cs
- DesignOnlyAttribute.cs
- ToolStripGrip.cs
- PowerStatus.cs
- ExtractorMetadata.cs
- ModelPerspective.cs
- AssociationSetMetadata.cs
- ISCIIEncoding.cs
- DnsEndPoint.cs
- Queue.cs
- ListViewItemEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- XmlSerializer.cs
- DllNotFoundException.cs
- VisualStyleRenderer.cs
- HttpVersion.cs
- Image.cs
- MutexSecurity.cs
- FormViewPageEventArgs.cs
- UnmanagedMemoryStreamWrapper.cs
- Vector3DCollectionConverter.cs
- PageCatalogPart.cs
- UndoEngine.cs
- AddressingProperty.cs
- CodeComment.cs
- ModuleBuilder.cs
- PointHitTestParameters.cs
- PropertyReferenceSerializer.cs
- ActivityScheduledRecord.cs
- DBCommandBuilder.cs
- Helpers.cs
- ZoomPercentageConverter.cs
- SmtpAuthenticationManager.cs
- ComMethodElement.cs
- Window.cs
- SafeArrayRankMismatchException.cs
- WebResourceAttribute.cs
- PageParser.cs
- SupportingTokenAuthenticatorSpecification.cs
- AssociationSet.cs
- TreeViewTemplateSelector.cs
- Baml2006KnownTypes.cs
- UserNameSecurityTokenProvider.cs
- dataSvcMapFileLoader.cs
- ValidationVisibilityAttribute.cs
- SingleResultAttribute.cs
- OutArgumentConverter.cs
- StringBuilder.cs
- HttpClientCertificate.cs
- PriorityBinding.cs
- PngBitmapEncoder.cs
- LayoutManager.cs
- EntityContainerEmitter.cs
- VideoDrawing.cs
- TargetParameterCountException.cs
- SourceFileInfo.cs
- TraceShell.cs
- WmlPhoneCallAdapter.cs
- TransformDescriptor.cs
- X509ChainPolicy.cs
- Int64Converter.cs
- ClientTargetCollection.cs
- SecurityHelper.cs
- MethodBuilder.cs
- XmlNotation.cs
- Pair.cs
- PolicyManager.cs
- WebRequestModulesSection.cs
- HierarchicalDataSourceControl.cs
- EdmItemCollection.cs
- StandardOleMarshalObject.cs
- SaveFileDialog.cs
- StaticDataManager.cs
- ImmutableObjectAttribute.cs
- QuaternionKeyFrameCollection.cs
- IItemProperties.cs
- oledbmetadatacolumnnames.cs