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
- XmlQueryTypeFactory.cs
- ObjectReaderCompiler.cs
- LinkButton.cs
- RandomDelaySendsAsyncResult.cs
- IDQuery.cs
- EntityContainerEmitter.cs
- PasswordRecovery.cs
- ThrowHelper.cs
- TextRangeSerialization.cs
- AccessText.cs
- basemetadatamappingvisitor.cs
- _ListenerRequestStream.cs
- CodeTypeParameter.cs
- NodeLabelEditEvent.cs
- Win32MouseDevice.cs
- ErrorInfoXmlDocument.cs
- Interlocked.cs
- StrongNameMembershipCondition.cs
- NameValueCollection.cs
- HttpDictionary.cs
- OperationContractAttribute.cs
- XmlNodeWriter.cs
- SafeHandle.cs
- HTMLTagNameToTypeMapper.cs
- RectValueSerializer.cs
- HelpEvent.cs
- DocumentViewer.cs
- TextDecorationCollectionConverter.cs
- NullReferenceException.cs
- CodeDOMUtility.cs
- HMACSHA1.cs
- PerformanceCounterPermissionAttribute.cs
- FileDialogPermission.cs
- WebPartTransformer.cs
- cookie.cs
- MD5CryptoServiceProvider.cs
- XmlAutoDetectWriter.cs
- StretchValidation.cs
- NetworkCredential.cs
- SystemIPGlobalProperties.cs
- CounterCreationData.cs
- BamlRecordReader.cs
- ElementHostAutomationPeer.cs
- CapabilitiesSection.cs
- InputBuffer.cs
- TypeDescriptor.cs
- DbMetaDataFactory.cs
- Mapping.cs
- NamespaceMapping.cs
- QueuePropertyVariants.cs
- DataKey.cs
- TypedElement.cs
- AssertSection.cs
- DataObject.cs
- FontFamilyIdentifier.cs
- CaseStatement.cs
- IgnoreSection.cs
- VirtualDirectoryMapping.cs
- VariantWrapper.cs
- DataMemberAttribute.cs
- RowTypeElement.cs
- MailWebEventProvider.cs
- LineMetrics.cs
- OdbcCommandBuilder.cs
- AddDataControlFieldDialog.cs
- NameValueFileSectionHandler.cs
- RenamedEventArgs.cs
- QilInvoke.cs
- HtmlFormWrapper.cs
- SQLGuid.cs
- TaskFormBase.cs
- MULTI_QI.cs
- TraceFilter.cs
- FormsAuthenticationConfiguration.cs
- DispatcherExceptionFilterEventArgs.cs
- ApplicationHost.cs
- WriteStateInfoBase.cs
- ObjectListTitleAttribute.cs
- ResourceWriter.cs
- SessionPageStatePersister.cs
- InvalidChannelBindingException.cs
- ToolStrip.cs
- DataContractSerializerServiceBehavior.cs
- DetailsViewModeEventArgs.cs
- TextServicesCompartmentContext.cs
- ObfuscationAttribute.cs
- StringValueSerializer.cs
- CurrencyManager.cs
- TemplateKeyConverter.cs
- Invariant.cs
- ToolStripGripRenderEventArgs.cs
- ListViewPagedDataSource.cs
- XmlSchemaComplexContentRestriction.cs
- UpdatableWrapper.cs
- WebColorConverter.cs
- FormatException.cs
- ColumnMapVisitor.cs
- EventManager.cs
- DbException.cs
- COM2PictureConverter.cs