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
- keycontainerpermission.cs
- ContentOnlyMessage.cs
- UIElement3D.cs
- odbcmetadatacolumnnames.cs
- jithelpers.cs
- ToolbarAUtomationPeer.cs
- BitmapEffectDrawing.cs
- RegistryExceptionHelper.cs
- MouseButton.cs
- DefaultDiscoveryServiceExtension.cs
- RoleServiceManager.cs
- SqlTypeConverter.cs
- SiteMapHierarchicalDataSourceView.cs
- ExtentJoinTreeNode.cs
- ScrollEventArgs.cs
- NullableLongAverageAggregationOperator.cs
- XmlSchemaComplexContentExtension.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- SqlReorderer.cs
- Pointer.cs
- ListenDesigner.cs
- DefaultPropertiesToSend.cs
- ToolStripItemCollection.cs
- KeyedHashAlgorithm.cs
- X509ThumbprintKeyIdentifierClause.cs
- BaseTemplatedMobileComponentEditor.cs
- Exceptions.cs
- FixUpCollection.cs
- AdCreatedEventArgs.cs
- WinInetCache.cs
- TdsValueSetter.cs
- HWStack.cs
- DSACryptoServiceProvider.cs
- ViewGenResults.cs
- validation.cs
- Encoder.cs
- CacheManager.cs
- M3DUtil.cs
- DeadCharTextComposition.cs
- ToolStripSplitStackLayout.cs
- XmlMemberMapping.cs
- TypeLibConverter.cs
- AttributeInfo.cs
- HttpClientChannel.cs
- ADConnectionHelper.cs
- FontCollection.cs
- HandlerFactoryCache.cs
- Stroke2.cs
- XmlComplianceUtil.cs
- X509Certificate2Collection.cs
- SignatureConfirmationElement.cs
- ExpressionVisitor.cs
- TextDecorationCollection.cs
- ScalarConstant.cs
- SystemWebExtensionsSectionGroup.cs
- BuildProviderUtils.cs
- DefaultCompensation.cs
- Int16AnimationUsingKeyFrames.cs
- namescope.cs
- TraceEventCache.cs
- Error.cs
- DataTrigger.cs
- DependencyPropertyAttribute.cs
- XhtmlCssHandler.cs
- ScrollBar.cs
- BaseComponentEditor.cs
- StorageComplexTypeMapping.cs
- DATA_BLOB.cs
- SQlBooleanStorage.cs
- DataServiceProcessingPipeline.cs
- UriScheme.cs
- AuthorizationSection.cs
- TargetParameterCountException.cs
- WinFormsUtils.cs
- PropertyMapper.cs
- MetabaseServerConfig.cs
- SchemaTypeEmitter.cs
- WinInet.cs
- HttpCachePolicy.cs
- EntityReference.cs
- SessionEndingCancelEventArgs.cs
- CommandLibraryHelper.cs
- TransactionOptions.cs
- SymLanguageVendor.cs
- DESCryptoServiceProvider.cs
- DigitShape.cs
- XmlSchemaAppInfo.cs
- ReadOnlyAttribute.cs
- ChtmlTextWriter.cs
- Select.cs
- ResourceContainer.cs
- WindowsPrincipal.cs
- HttpRuntimeSection.cs
- ToolboxCategoryItems.cs
- Listbox.cs
- InheritanceUI.cs
- UIElementAutomationPeer.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- MachineKeySection.cs
- AmbientLight.cs