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
- ListViewCancelEventArgs.cs
- StaticFileHandler.cs
- CodeSnippetStatement.cs
- WebZone.cs
- SBCSCodePageEncoding.cs
- EntityClientCacheEntry.cs
- EdmType.cs
- Helper.cs
- ConfigurationCollectionAttribute.cs
- InvalidComObjectException.cs
- ColorTranslator.cs
- BasePropertyDescriptor.cs
- TextBoxRenderer.cs
- SimpleTextLine.cs
- Parsers.cs
- IconHelper.cs
- DataServiceQueryException.cs
- SharedStatics.cs
- COM2EnumConverter.cs
- AppDomainProtocolHandler.cs
- HighContrastHelper.cs
- _CacheStreams.cs
- BinaryObjectInfo.cs
- HtmlSelect.cs
- _RequestCacheProtocol.cs
- SoapObjectInfo.cs
- Visitor.cs
- NotImplementedException.cs
- DataKey.cs
- Expander.cs
- ResourceDisplayNameAttribute.cs
- AuthenticationSection.cs
- MenuItemStyleCollection.cs
- PrtTicket_Editor.cs
- GenericEnumConverter.cs
- Application.cs
- WindowsRichEdit.cs
- CurrentChangingEventManager.cs
- SqlDependencyListener.cs
- WebPartZoneCollection.cs
- ReadOnlyMetadataCollection.cs
- WhitespaceSignificantCollectionAttribute.cs
- ECDiffieHellmanPublicKey.cs
- ResXResourceReader.cs
- ObjectCache.cs
- FramingDecoders.cs
- WorkerRequest.cs
- AssertUtility.cs
- MenuCommand.cs
- TextBoxAutomationPeer.cs
- RelationshipConstraintValidator.cs
- TransformDescriptor.cs
- RegionIterator.cs
- PropertyInfo.cs
- BindableTemplateBuilder.cs
- ClusterUtils.cs
- DataSet.cs
- GiveFeedbackEvent.cs
- AutoFocusStyle.xaml.cs
- WebPartDeleteVerb.cs
- ConvertTextFrag.cs
- CompilationPass2TaskInternal.cs
- DataGridViewAdvancedBorderStyle.cs
- Number.cs
- StructuredType.cs
- XmlDocumentType.cs
- VectorCollectionConverter.cs
- PathSegment.cs
- RequestCachePolicyConverter.cs
- SecurityElement.cs
- XmlDataSource.cs
- BaseInfoTable.cs
- NumberFunctions.cs
- smtppermission.cs
- StyleModeStack.cs
- InputLanguageEventArgs.cs
- SecurityAppliedMessage.cs
- LayoutEvent.cs
- RTTypeWrapper.cs
- AsyncOperation.cs
- SessionSwitchEventArgs.cs
- OleAutBinder.cs
- TransformedBitmap.cs
- MergeLocalizationDirectives.cs
- GridPattern.cs
- RayMeshGeometry3DHitTestResult.cs
- ProtocolElement.cs
- JsonReader.cs
- CellConstant.cs
- XmlJsonWriter.cs
- ProcessModelSection.cs
- PropertySourceInfo.cs
- TextRenderer.cs
- OracleConnectionString.cs
- OracleParameterCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- ProxyDataContractResolver.cs
- CommonObjectSecurity.cs
- BidPrivateBase.cs
- QueryHandler.cs