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
- ObjectListFieldCollection.cs
- Parser.cs
- TaskExtensions.cs
- StrokeNodeData.cs
- DurationConverter.cs
- OleStrCAMarshaler.cs
- MouseOverProperty.cs
- SqlError.cs
- KeyConstraint.cs
- CacheSection.cs
- DataGridTableStyleMappingNameEditor.cs
- CopyOnWriteList.cs
- TrackingMemoryStream.cs
- Activator.cs
- AnyReturnReader.cs
- OdbcConnectionFactory.cs
- XMLSyntaxException.cs
- SystemColors.cs
- PackageController.cs
- ContractBase.cs
- RowUpdatedEventArgs.cs
- CopyCodeAction.cs
- ToolStripButton.cs
- ConnectionPointCookie.cs
- ResourceDescriptionAttribute.cs
- ScrollPatternIdentifiers.cs
- FixedStringLookup.cs
- SystemColors.cs
- BinaryFormatter.cs
- TrackingStringDictionary.cs
- ClientCredentialsSecurityTokenManager.cs
- SqlStream.cs
- SafeRightsManagementEnvironmentHandle.cs
- BinHexEncoder.cs
- OracleConnectionString.cs
- ColumnResizeAdorner.cs
- XmlDocumentType.cs
- RowToParametersTransformer.cs
- PriorityChain.cs
- RewritingProcessor.cs
- URLAttribute.cs
- FormatControl.cs
- SectionRecord.cs
- TimeoutHelper.cs
- BitConverter.cs
- SafeArrayTypeMismatchException.cs
- TreeViewEvent.cs
- FlowDocumentReader.cs
- MinimizableAttributeTypeConverter.cs
- CopyEncoder.cs
- DataSourceXmlElementAttribute.cs
- ConfigurationStrings.cs
- ToolStripDropDownButton.cs
- Claim.cs
- SynchronizedDispatch.cs
- PropertyNames.cs
- DataPagerField.cs
- GridItemCollection.cs
- EdmComplexTypeAttribute.cs
- Size3D.cs
- RTLAwareMessageBox.cs
- WindowsFormsHostPropertyMap.cs
- FixedSOMSemanticBox.cs
- ListComponentEditor.cs
- SqlParameter.cs
- DbConnectionStringCommon.cs
- CaseStatement.cs
- AccessDataSourceView.cs
- WebPartExportVerb.cs
- CacheChildrenQuery.cs
- DataGridViewCellStyleConverter.cs
- XmlNode.cs
- HitTestResult.cs
- TitleStyle.cs
- CaretElement.cs
- PageParserFilter.cs
- InstallerTypeAttribute.cs
- PriorityQueue.cs
- Query.cs
- configsystem.cs
- DefaultValueTypeConverter.cs
- MappingModelBuildProvider.cs
- JpegBitmapEncoder.cs
- KeyManager.cs
- PropVariant.cs
- CommonBehaviorsSection.cs
- CodeDOMUtility.cs
- IPAddress.cs
- DataGridItem.cs
- DbProviderFactory.cs
- NotImplementedException.cs
- AppDomainShutdownMonitor.cs
- ActivityDesignerHighlighter.cs
- QilBinary.cs
- HTMLTagNameToTypeMapper.cs
- HandlerBase.cs
- DataGridToolTip.cs
- BaseWebProxyFinder.cs
- SimpleType.cs
- XmlSchemaSimpleContent.cs