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
- SubMenuStyleCollectionEditor.cs
- MemoryPressure.cs
- RootNamespaceAttribute.cs
- ExecutionEngineException.cs
- GridView.cs
- SmiEventStream.cs
- XmlLangPropertyAttribute.cs
- ExpressionBinding.cs
- ZipIOLocalFileBlock.cs
- SafeArrayRankMismatchException.cs
- ControlIdConverter.cs
- OdbcPermission.cs
- SystemColorTracker.cs
- EntityDataReader.cs
- ContractSearchPattern.cs
- ValidationPropertyAttribute.cs
- XmlNavigatorStack.cs
- Aggregates.cs
- ResourceContainer.cs
- ScriptModule.cs
- TransactionFilter.cs
- AlignmentXValidation.cs
- FrameSecurityDescriptor.cs
- ClientSettingsProvider.cs
- ExpressionVisitor.cs
- LogEntry.cs
- Panel.cs
- EntitySqlException.cs
- WebBrowser.cs
- IfAction.cs
- DateBoldEvent.cs
- HeaderCollection.cs
- WebPartAddingEventArgs.cs
- Model3DCollection.cs
- Ipv6Element.cs
- InitializationEventAttribute.cs
- LayoutTableCell.cs
- AnnotationResourceChangedEventArgs.cs
- DriveInfo.cs
- Literal.cs
- OleDbParameterCollection.cs
- BrowserTree.cs
- DataTemplateKey.cs
- QuaternionIndependentAnimationStorage.cs
- LogicalChannelCollection.cs
- LOSFormatter.cs
- HwndMouseInputProvider.cs
- HttpProcessUtility.cs
- WebPartConnectionsDisconnectVerb.cs
- SafeEventHandle.cs
- CompiledIdentityConstraint.cs
- DrawingServices.cs
- ThreadAbortException.cs
- ImageBrush.cs
- EventSetter.cs
- XmlEncoding.cs
- MaskInputRejectedEventArgs.cs
- CodeCatchClauseCollection.cs
- ToolStripSplitStackLayout.cs
- InvariantComparer.cs
- GeometryModel3D.cs
- ValidationHelper.cs
- Transform3D.cs
- Win32Interop.cs
- SByte.cs
- SecurityHeaderElementInferenceEngine.cs
- HyperLink.cs
- XamlValidatingReader.cs
- LogReservationCollection.cs
- DataObjectEventArgs.cs
- ImportCatalogPart.cs
- Message.cs
- ParameterBuilder.cs
- _AcceptOverlappedAsyncResult.cs
- ByteStack.cs
- DelimitedListTraceListener.cs
- TreeChangeInfo.cs
- PolicyStatement.cs
- XmlReaderSettings.cs
- ConfigXmlAttribute.cs
- recordstatefactory.cs
- XslCompiledTransform.cs
- Expression.cs
- NamedElement.cs
- InfoCardRequestException.cs
- NestedContainer.cs
- SparseMemoryStream.cs
- TypeSource.cs
- Int32Converter.cs
- XmlSchemaSimpleContent.cs
- StylusPointPropertyId.cs
- ActivityExecutionContextCollection.cs
- CurrencyWrapper.cs
- SoundPlayer.cs
- MethodResolver.cs
- ServiceManagerHandle.cs
- ClientSession.cs
- SchemaTypeEmitter.cs
- XmlSchemaImporter.cs
- Knowncolors.cs