Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- StringResourceManager.cs
- SetIterators.cs
- CodeSnippetExpression.cs
- SoapObjectWriter.cs
- ValidationPropertyAttribute.cs
- XpsFont.cs
- ListViewSelectEventArgs.cs
- DesigntimeLicenseContextSerializer.cs
- XPathSelfQuery.cs
- CommonEndpointBehaviorElement.cs
- BasicExpandProvider.cs
- OleDbException.cs
- METAHEADER.cs
- RepeaterItemCollection.cs
- HtmlValidatorAdapter.cs
- CommandBindingCollection.cs
- SelectionEditingBehavior.cs
- SequenceDesigner.cs
- ProxyElement.cs
- PartitionerQueryOperator.cs
- ListViewHitTestInfo.cs
- CodeMemberMethod.cs
- OutOfProcStateClientManager.cs
- DockProviderWrapper.cs
- SqlFormatter.cs
- ByeOperationCD1AsyncResult.cs
- NetStream.cs
- Menu.cs
- XmlUrlResolver.cs
- mda.cs
- SaveFileDialog.cs
- UIPropertyMetadata.cs
- _ScatterGatherBuffers.cs
- SafeEventLogWriteHandle.cs
- RedBlackList.cs
- GPRECTF.cs
- PeerInputChannelListener.cs
- _BufferOffsetSize.cs
- diagnosticsswitches.cs
- NotImplementedException.cs
- WebHttpDispatchOperationSelector.cs
- Calendar.cs
- fixedPageContentExtractor.cs
- DesignerOptions.cs
- SqlUserDefinedAggregateAttribute.cs
- FontInfo.cs
- StreamUpgradeBindingElement.cs
- ObjectIDGenerator.cs
- DataGridViewRowConverter.cs
- cryptoapiTransform.cs
- PseudoWebRequest.cs
- CodeAttributeArgumentCollection.cs
- ParentQuery.cs
- SyntaxCheck.cs
- SortQuery.cs
- DataContract.cs
- ErrorFormatterPage.cs
- MenuStrip.cs
- RadioButtonPopupAdapter.cs
- TerminatorSinks.cs
- WsatConfiguration.cs
- ModifierKeysValueSerializer.cs
- SchemaType.cs
- QueueException.cs
- Renderer.cs
- SessionPageStateSection.cs
- ProxyWebPartManager.cs
- Table.cs
- ZeroOpNode.cs
- DiagnosticTrace.cs
- DataGridItem.cs
- Floater.cs
- AbstractSvcMapFileLoader.cs
- TextUtf8RawTextWriter.cs
- RewritingProcessor.cs
- CatalogZone.cs
- IPEndPointCollection.cs
- RoleManagerSection.cs
- ExpandoClass.cs
- TypeDescriptionProviderAttribute.cs
- TextDecorationUnitValidation.cs
- ContextStack.cs
- ProxyWebPartConnectionCollection.cs
- ContextMenuAutomationPeer.cs
- PolicyUnit.cs
- InlinedAggregationOperator.cs
- UserControl.cs
- StylusButtonEventArgs.cs
- SecurityPermission.cs
- OleDbStruct.cs
- HttpFileCollectionWrapper.cs
- ListComponentEditorPage.cs
- HtmlInputSubmit.cs
- SecurityUtils.cs
- BevelBitmapEffect.cs
- ReversePositionQuery.cs
- InputProcessorProfiles.cs
- IxmlLineInfo.cs
- TypeInfo.cs
- InputLanguageSource.cs