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
- EditorPartChrome.cs
- NativeMethods.cs
- SystemWebCachingSectionGroup.cs
- NumberFunctions.cs
- HttpCookieCollection.cs
- WindowsStreamSecurityElement.cs
- Geometry3D.cs
- ThicknessConverter.cs
- ViewStateChangedEventArgs.cs
- DeviceContext.cs
- TraceFilter.cs
- TraceSwitch.cs
- MembershipUser.cs
- LowerCaseStringConverter.cs
- PathFigureCollectionConverter.cs
- Stroke.cs
- Selector.cs
- RedistVersionInfo.cs
- RSAProtectedConfigurationProvider.cs
- StoryFragments.cs
- DynamicValueConverter.cs
- HtmlInputButton.cs
- DocumentViewer.cs
- RuleProcessor.cs
- VirtualPath.cs
- SystemBrushes.cs
- NetworkInterface.cs
- UserPreferenceChangingEventArgs.cs
- ReadOnlyDictionary.cs
- HtmlControlDesigner.cs
- HGlobalSafeHandle.cs
- XmlSchemaSequence.cs
- HwndKeyboardInputProvider.cs
- CultureInfoConverter.cs
- WebPart.cs
- DocumentStatusResources.cs
- LineVisual.cs
- ClusterRegistryConfigurationProvider.cs
- CheckableControlBaseAdapter.cs
- LinqDataSource.cs
- SchemaObjectWriter.cs
- Int64AnimationBase.cs
- InputMethod.cs
- TabItem.cs
- Odbc32.cs
- PagesChangedEventArgs.cs
- IdentityValidationException.cs
- TemplatedControlDesigner.cs
- Model3DCollection.cs
- Win32MouseDevice.cs
- DescendantQuery.cs
- ColumnBinding.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- EventsTab.cs
- TargetControlTypeCache.cs
- HeaderUtility.cs
- ProfilePropertySettings.cs
- DataSet.cs
- PolyBezierSegment.cs
- DynamicPropertyHolder.cs
- BitmapCodecInfo.cs
- CompiledRegexRunner.cs
- PolygonHotSpot.cs
- ToolStripItemTextRenderEventArgs.cs
- DataView.cs
- LZCodec.cs
- FontFamilyConverter.cs
- CodeAccessPermission.cs
- CaseCqlBlock.cs
- SwitchElementsCollection.cs
- XmlComment.cs
- ColumnProvider.cs
- CodeDelegateCreateExpression.cs
- CommonObjectSecurity.cs
- ContainerUIElement3D.cs
- FixedPage.cs
- DataGridViewCellEventArgs.cs
- UnsafeNativeMethods.cs
- WebServiceMethodData.cs
- Soap12FormatExtensions.cs
- Tokenizer.cs
- FontCollection.cs
- AttachedPropertyDescriptor.cs
- PersianCalendar.cs
- Mappings.cs
- RuleAction.cs
- DESCryptoServiceProvider.cs
- DragDeltaEventArgs.cs
- ExtenderControl.cs
- TreeViewItem.cs
- DynamicMethod.cs
- MenuAdapter.cs
- ProcessingInstructionAction.cs
- TextParagraphView.cs
- SimpleHandlerBuildProvider.cs
- InputGestureCollection.cs
- TransformCollection.cs
- MaskedTextBox.cs
- TextBreakpoint.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs