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
- ProxyWebPartManagerDesigner.cs
- RevocationPoint.cs
- BitmapCodecInfoInternal.cs
- PropertyGridView.cs
- TabControlDesigner.cs
- SafeRightsManagementPubHandle.cs
- XamlDesignerSerializationManager.cs
- PropertyToken.cs
- InternalCompensate.cs
- ReadOnlyHierarchicalDataSource.cs
- MenuRenderer.cs
- ByteStreamGeometryContext.cs
- TextParentUndoUnit.cs
- ColumnPropertiesGroup.cs
- GraphicsPathIterator.cs
- RIPEMD160.cs
- FontSizeConverter.cs
- EmptyEnumerable.cs
- ValidateNames.cs
- SmtpMail.cs
- ListBindingHelper.cs
- SamlDelegatingWriter.cs
- DataSourceIDConverter.cs
- MimeTypePropertyAttribute.cs
- DbConnectionPoolGroupProviderInfo.cs
- DataBindEngine.cs
- InvokeMethodDesigner.xaml.cs
- XamlReader.cs
- WindowsListViewScroll.cs
- DbConnectionPoolGroup.cs
- EditingCommands.cs
- NotFiniteNumberException.cs
- XmlSchemaNotation.cs
- CipherData.cs
- UserValidatedEventArgs.cs
- DispatchWrapper.cs
- VersionValidator.cs
- SmtpReplyReaderFactory.cs
- ScriptReference.cs
- FormsAuthenticationUser.cs
- GenericRootAutomationPeer.cs
- HandlerFactoryCache.cs
- WebMessageEncodingElement.cs
- X509Utils.cs
- MatrixTransform.cs
- Interlocked.cs
- SchemaImporterExtensionElementCollection.cs
- JsonDeserializer.cs
- ValidationResults.cs
- ImageDrawing.cs
- DeviceContexts.cs
- UnsafeNativeMethods.cs
- GlobalizationSection.cs
- COM2TypeInfoProcessor.cs
- WebConfigurationHost.cs
- DataKey.cs
- InvokeWebServiceDesigner.cs
- UnicastIPAddressInformationCollection.cs
- SortQueryOperator.cs
- _DigestClient.cs
- DrawTreeNodeEventArgs.cs
- WebCategoryAttribute.cs
- CodeExporter.cs
- WebPartConnectionsCancelEventArgs.cs
- AppModelKnownContentFactory.cs
- TextRangeEdit.cs
- Line.cs
- PageDeviceFont.cs
- CollectionCodeDomSerializer.cs
- StretchValidation.cs
- BrowserDefinition.cs
- TextServicesCompartmentContext.cs
- InvalidAsynchronousStateException.cs
- CreateUserWizard.cs
- PathFigure.cs
- DataGridViewCellConverter.cs
- ReadOnlyKeyedCollection.cs
- WebEvents.cs
- ApplicationDirectory.cs
- ReferenceEqualityComparer.cs
- TextTreeDeleteContentUndoUnit.cs
- NameObjectCollectionBase.cs
- FocusWithinProperty.cs
- JapaneseLunisolarCalendar.cs
- ZipPackage.cs
- StatusBarItem.cs
- SystemColors.cs
- XmlAggregates.cs
- UserControlParser.cs
- ListViewContainer.cs
- ResourceDefaultValueAttribute.cs
- UserInitiatedNavigationPermission.cs
- CodeDelegateCreateExpression.cs
- WebExceptionStatus.cs
- Rectangle.cs
- dataobject.cs
- CharAnimationBase.cs
- DeferredBinaryDeserializerExtension.cs
- ExternalException.cs
- StylusButton.cs