Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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 } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventSetter.cs
- RepeaterItem.cs
- DataControlFieldHeaderCell.cs
- WebServiceEnumData.cs
- TextEditorCopyPaste.cs
- SafeHandles.cs
- HtmlControlPersistable.cs
- RemoteWebConfigurationHostStream.cs
- AmbiguousMatchException.cs
- HostUtils.cs
- DataSet.cs
- FileDialogCustomPlacesCollection.cs
- RoutedEventArgs.cs
- rsa.cs
- InvalidFilterCriteriaException.cs
- WebPermission.cs
- RequestCacheManager.cs
- MethodAccessException.cs
- IsolatedStorageFileStream.cs
- SamlDelegatingWriter.cs
- DefaultValueTypeConverter.cs
- SchemaTableColumn.cs
- ClientSettingsProvider.cs
- IPCCacheManager.cs
- BasicHttpBindingElement.cs
- FixedLineResult.cs
- DataListCommandEventArgs.cs
- InheritedPropertyDescriptor.cs
- UTF8Encoding.cs
- SelectionItemPattern.cs
- ClipboardData.cs
- AutoResetEvent.cs
- DefinitionUpdate.cs
- InkCanvasInnerCanvas.cs
- ButtonField.cs
- _IPv4Address.cs
- PaintEvent.cs
- OuterGlowBitmapEffect.cs
- ConfigurationStrings.cs
- ServiceModelConfigurationElementCollection.cs
- Separator.cs
- WebPartTransformer.cs
- TraceContextRecord.cs
- XmlWhitespace.cs
- BamlBinaryReader.cs
- TypeUnloadedException.cs
- FixedNode.cs
- Clipboard.cs
- AssemblyAttributes.cs
- CancellationScope.cs
- DataServiceResponse.cs
- MenuScrollingVisibilityConverter.cs
- PersonalizationStateInfoCollection.cs
- ControlPropertyNameConverter.cs
- ScrollProviderWrapper.cs
- TranslateTransform.cs
- TargetInvocationException.cs
- NavigationWindow.cs
- DataGridViewRowCollection.cs
- ServiceDocument.cs
- DataSourceHelper.cs
- AuthenticationManager.cs
- WebReferenceOptions.cs
- FormsAuthenticationUser.cs
- AttributeProviderAttribute.cs
- WS2007HttpBindingElement.cs
- ListViewUpdateEventArgs.cs
- ObjectSet.cs
- SoapSchemaExporter.cs
- MainMenu.cs
- ThicknessKeyFrameCollection.cs
- ManifestBasedResourceGroveler.cs
- Int16Converter.cs
- Expander.cs
- ConfigXmlWhitespace.cs
- OdbcStatementHandle.cs
- PowerStatus.cs
- OleServicesContext.cs
- Message.cs
- PageAction.cs
- DescendentsWalkerBase.cs
- DocumentAutomationPeer.cs
- DataGridViewCellParsingEventArgs.cs
- ItemsPresenter.cs
- BuildTopDownAttribute.cs
- LoginName.cs
- GCHandleCookieTable.cs
- ClientConfigurationSystem.cs
- ConstructorNeedsTagAttribute.cs
- ProviderConnectionPoint.cs
- SendSecurityHeader.cs
- OneOfConst.cs
- InputLanguageManager.cs
- basevalidator.cs
- SchemaLookupTable.cs
- HashHelper.cs
- ReadOnlyCollection.cs
- HttpSessionStateWrapper.cs
- Handle.cs
- TimeManager.cs