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
- CommandManager.cs
- SubpageParagraph.cs
- ActivityCollectionMarkupSerializer.cs
- CodeExpressionStatement.cs
- SurrogateEncoder.cs
- PageSetupDialog.cs
- InputReferenceExpression.cs
- ParseChildrenAsPropertiesAttribute.cs
- BooleanStorage.cs
- DefaultValidator.cs
- TreeView.cs
- HelpKeywordAttribute.cs
- CultureTableRecord.cs
- ViewManager.cs
- CodeExpressionCollection.cs
- Tag.cs
- AppDomainProtocolHandler.cs
- ModelFactory.cs
- XmlObjectSerializerWriteContext.cs
- TextEditorContextMenu.cs
- DataProtection.cs
- Error.cs
- StoreContentChangedEventArgs.cs
- MethodToken.cs
- ACL.cs
- InvalidProgramException.cs
- ToolBarPanel.cs
- ItemsControl.cs
- CertificateManager.cs
- MailWebEventProvider.cs
- _TimerThread.cs
- ManagementObjectSearcher.cs
- ProtocolElement.cs
- Compiler.cs
- SQLInt32.cs
- SimpleType.cs
- XPathDescendantIterator.cs
- Vector3DAnimation.cs
- ClientApiGenerator.cs
- FixedSOMPage.cs
- StringValidator.cs
- WindowsListViewItemCheckBox.cs
- CodeDefaultValueExpression.cs
- DataTrigger.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SplineQuaternionKeyFrame.cs
- SmiConnection.cs
- precedingquery.cs
- EditorBrowsableAttribute.cs
- _NetRes.cs
- DoubleLink.cs
- PlatformCulture.cs
- Deflater.cs
- ConfigXmlReader.cs
- PathParser.cs
- WebSysDisplayNameAttribute.cs
- AppDomainFactory.cs
- PathFigureCollection.cs
- HealthMonitoringSectionHelper.cs
- HandlerMappingMemo.cs
- VectorAnimationUsingKeyFrames.cs
- RegexMatchCollection.cs
- TraceSwitch.cs
- ListViewPagedDataSource.cs
- TagMapInfo.cs
- AppDomainAttributes.cs
- SqlParameter.cs
- OdbcHandle.cs
- Latin1Encoding.cs
- Translator.cs
- SyntaxCheck.cs
- ParameterModifier.cs
- ConfigurationPropertyAttribute.cs
- BindUriHelper.cs
- Form.cs
- GroupBoxDesigner.cs
- ObfuscateAssemblyAttribute.cs
- ProcessModuleCollection.cs
- OracleCommand.cs
- ImageInfo.cs
- ToolStripContainer.cs
- Contracts.cs
- StoreItemCollection.cs
- LongCountAggregationOperator.cs
- PermissionRequestEvidence.cs
- WindowHelperService.cs
- DataQuery.cs
- MarkupCompilePass2.cs
- _RequestCacheProtocol.cs
- CopyOnWriteList.cs
- StringHelper.cs
- DefaultValueMapping.cs
- RectValueSerializer.cs
- PrintPreviewGraphics.cs
- ServiceMetadataPublishingElement.cs
- AppDomainProtocolHandler.cs
- ExecutionEngineException.cs
- OnOperation.cs
- PageWrapper.cs
- PageParser.cs