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
- TraceLog.cs
- isolationinterop.cs
- RuntimeCompatibilityAttribute.cs
- XmlSchemaNotation.cs
- basenumberconverter.cs
- XmlIlGenerator.cs
- DiagnosticsConfigurationHandler.cs
- DataColumn.cs
- ExpressionBindings.cs
- ToolBarPanel.cs
- hresults.cs
- ElementMarkupObject.cs
- BamlResourceSerializer.cs
- CounterSetInstanceCounterDataSet.cs
- RightNameExpirationInfoPair.cs
- ToolStripPanel.cs
- TrustManager.cs
- ChameleonKey.cs
- TraceSwitch.cs
- DefaultHttpHandler.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SqlStream.cs
- MessageHeaderT.cs
- WindowsTab.cs
- LogConverter.cs
- Int32Storage.cs
- IPipelineRuntime.cs
- SQLStringStorage.cs
- DependencyObjectType.cs
- MemberProjectionIndex.cs
- StringBuilder.cs
- SplitterCancelEvent.cs
- QueryStack.cs
- Debug.cs
- Bezier.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- AvTraceDetails.cs
- HandlerElement.cs
- XmlDataCollection.cs
- FieldNameLookup.cs
- ThousandthOfEmRealPoints.cs
- EventRecord.cs
- Focus.cs
- Positioning.cs
- GridViewHeaderRowPresenter.cs
- TableRowGroup.cs
- DockingAttribute.cs
- OuterGlowBitmapEffect.cs
- ExpressionVisitor.cs
- XmlSchemaAnnotation.cs
- MissingManifestResourceException.cs
- CommandHelper.cs
- DataGridColumnCollectionEditor.cs
- PrimitiveDataContract.cs
- SchemaEntity.cs
- SqlInternalConnectionSmi.cs
- PageHandlerFactory.cs
- KeyConstraint.cs
- BindingManagerDataErrorEventArgs.cs
- EventSinkHelperWriter.cs
- Events.cs
- InternalConfigHost.cs
- MetadataItem_Static.cs
- ObjectDataSourceStatusEventArgs.cs
- SystemUdpStatistics.cs
- ISAPIRuntime.cs
- RawStylusInputCustomData.cs
- TableLayoutPanelBehavior.cs
- EtwTrace.cs
- MbpInfo.cs
- Attributes.cs
- RsaKeyIdentifierClause.cs
- SiteMapSection.cs
- ThreadLocal.cs
- RadioButtonBaseAdapter.cs
- TextEndOfSegment.cs
- XmlAttributeCollection.cs
- GridItemPatternIdentifiers.cs
- ScriptRegistrationManager.cs
- CompiledAction.cs
- BackgroundWorker.cs
- ResourceExpression.cs
- NonVisualControlAttribute.cs
- CryptoConfig.cs
- ParsedAttributeCollection.cs
- IPGlobalProperties.cs
- WebPartPersonalization.cs
- ExtensionQuery.cs
- TableLayoutCellPaintEventArgs.cs
- KeyConstraint.cs
- ObjectQueryProvider.cs
- GiveFeedbackEventArgs.cs
- XamlParser.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Vector3D.cs
- SqlStatistics.cs
- NativeMethodsOther.cs
- ProtocolsConfigurationHandler.cs
- XmlDataProvider.cs
- AttachedPropertyInfo.cs