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
- ActivityPreviewDesigner.cs
- PackagePartCollection.cs
- WebPartConnectionsEventArgs.cs
- _NtlmClient.cs
- WindowPattern.cs
- ObjectKeyFrameCollection.cs
- ToolStripSettings.cs
- GeneralTransform2DTo3DTo2D.cs
- RuleAction.cs
- StructuredCompositeActivityDesigner.cs
- TextServicesManager.cs
- JoinSymbol.cs
- DropShadowBitmapEffect.cs
- externdll.cs
- XmlDomTextWriter.cs
- FilteredDataSetHelper.cs
- CommandHelpers.cs
- ExpressionReplacer.cs
- ProtectedConfiguration.cs
- RegisteredScript.cs
- UriSectionData.cs
- SqlTypeSystemProvider.cs
- Positioning.cs
- ReadOnlyHierarchicalDataSourceView.cs
- BinaryObjectInfo.cs
- cookieexception.cs
- ForeignConstraint.cs
- RelationshipFixer.cs
- Dump.cs
- Int32Converter.cs
- CalendarTable.cs
- ObjectStateEntryDbDataRecord.cs
- IsolationInterop.cs
- CodeAttachEventStatement.cs
- RC2CryptoServiceProvider.cs
- ToolStripDropTargetManager.cs
- DecoderFallbackWithFailureFlag.cs
- MetadataArtifactLoader.cs
- DynamicResourceExtension.cs
- WindowsFormsLinkLabel.cs
- MutexSecurity.cs
- SqlConnectionPoolProviderInfo.cs
- InvalidateEvent.cs
- OperationContractAttribute.cs
- xmlfixedPageInfo.cs
- FixedSOMTextRun.cs
- StatusCommandUI.cs
- DictionaryContent.cs
- DockPatternIdentifiers.cs
- Size.cs
- SqlDataSourceRefreshSchemaForm.cs
- PersistencePipeline.cs
- CompressStream.cs
- AsyncDataRequest.cs
- FrameworkTextComposition.cs
- dataprotectionpermission.cs
- MediaContext.cs
- RMPermissions.cs
- PathGradientBrush.cs
- MetadataItem.cs
- FaultException.cs
- NumberSubstitution.cs
- ValueType.cs
- ImageField.cs
- AsyncStreamReader.cs
- DateTimeStorage.cs
- WindowsSysHeader.cs
- DbProviderFactories.cs
- PartialCachingAttribute.cs
- DbParameterHelper.cs
- ThreadAbortException.cs
- TypedOperationInfo.cs
- PropertyDescriptorGridEntry.cs
- IsolatedStorageSecurityState.cs
- WindowsTooltip.cs
- WorkflowServiceHost.cs
- KnownIds.cs
- ScriptIgnoreAttribute.cs
- X509ChainElement.cs
- FrameworkRichTextComposition.cs
- DataStreamFromComStream.cs
- SymbolMethod.cs
- FastEncoderWindow.cs
- IIS7UserPrincipal.cs
- Int64AnimationBase.cs
- ModuleElement.cs
- ConsoleKeyInfo.cs
- TranslateTransform3D.cs
- NativeActivityTransactionContext.cs
- ReadOnlyDataSourceView.cs
- CheckBoxStandardAdapter.cs
- TrackingDataItemValue.cs
- Simplifier.cs
- OrderByQueryOptionExpression.cs
- IconBitmapDecoder.cs
- DesignUtil.cs
- WebPartDescriptionCollection.cs
- PolicyStatement.cs
- CultureSpecificCharacterBufferRange.cs
- CodeStatement.cs