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
- CounterCreationDataCollection.cs
- Literal.cs
- XhtmlMobileTextWriter.cs
- Content.cs
- TempFiles.cs
- LinqDataSourceInsertEventArgs.cs
- DataControlPagerLinkButton.cs
- DataObjectCopyingEventArgs.cs
- CapabilitiesAssignment.cs
- Currency.cs
- DSACryptoServiceProvider.cs
- LinkUtilities.cs
- ConnectionOrientedTransportChannelFactory.cs
- SslStream.cs
- XmlDomTextWriter.cs
- RuleSettingsCollection.cs
- TransportSecurityHelpers.cs
- ChildTable.cs
- DrawingContextDrawingContextWalker.cs
- Select.cs
- RemotingConfigParser.cs
- linebase.cs
- ProfileModule.cs
- DocumentViewerAutomationPeer.cs
- PagesSection.cs
- Material.cs
- GradientStopCollection.cs
- AssemblyAttributesGoHere.cs
- InlineCollection.cs
- ColorContextHelper.cs
- CodeExporter.cs
- SubqueryRules.cs
- ManagedWndProcTracker.cs
- WebConfigurationFileMap.cs
- SimpleType.cs
- DetailsViewPagerRow.cs
- ParameterEditorUserControl.cs
- VisualStyleRenderer.cs
- TypeInfo.cs
- TextStore.cs
- ObjectIDGenerator.cs
- DeferredBinaryDeserializerExtension.cs
- PropertyValue.cs
- printdlgexmarshaler.cs
- StickyNoteContentControl.cs
- DropDownList.cs
- webclient.cs
- X509Certificate2.cs
- RemoteWebConfigurationHostServer.cs
- CultureInfoConverter.cs
- MediaSystem.cs
- SmtpNetworkElement.cs
- SetStateEventArgs.cs
- Certificate.cs
- XmlJsonReader.cs
- DataGridHeaderBorder.cs
- ApplicationSettingsBase.cs
- HtmlTableCellCollection.cs
- Simplifier.cs
- Adorner.cs
- IFlowDocumentViewer.cs
- SafeReversePInvokeHandle.cs
- ToolStripOverflowButton.cs
- LoginView.cs
- smtppermission.cs
- Propagator.cs
- LinearKeyFrames.cs
- VisualStateGroup.cs
- OperationContractAttribute.cs
- ZipIOExtraFieldPaddingElement.cs
- StylusOverProperty.cs
- elementinformation.cs
- OleDbCommandBuilder.cs
- EdmFunction.cs
- DictionaryBase.cs
- Page.cs
- TypeSystem.cs
- SQLInt32.cs
- TabPanel.cs
- CornerRadiusConverter.cs
- Line.cs
- Line.cs
- TranslateTransform3D.cs
- RtType.cs
- EditorPart.cs
- RelatedPropertyManager.cs
- DropShadowBitmapEffect.cs
- FileDetails.cs
- SqlCacheDependencySection.cs
- Metafile.cs
- LateBoundBitmapDecoder.cs
- PackWebResponse.cs
- TreeNodeClickEventArgs.cs
- HostingPreferredMapPath.cs
- ResizingMessageFilter.cs
- FlowDocumentReaderAutomationPeer.cs
- HybridDictionary.cs
- DBConnectionString.cs
- Schema.cs
- TextEditorContextMenu.cs