Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / DefaultBindingPropertyAttribute.cs / 1305376 / DefaultBindingPropertyAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] public sealed class DefaultBindingPropertyAttribute : Attribute { private readonly string name; ///Specifies the default binding property for a component. ////// public DefaultBindingPropertyAttribute() { this.name = null; } ////// Initializes a new instance of /// the ///class. /// /// public DefaultBindingPropertyAttribute(string name) { this.name = name; } ////// Initializes a new instance of /// the ///class. /// /// public string Name { get { return name; } } ////// Gets the name of the default binding property for the component this attribute is /// bound to. /// ////// public static readonly DefaultBindingPropertyAttribute Default = new DefaultBindingPropertyAttribute(); public override bool Equals(object obj) { DefaultBindingPropertyAttribute other = obj as DefaultBindingPropertyAttribute; return other != null && other.Name == name; } public override int GetHashCode() { return base.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies the default value for the ///, which is . This /// field is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlDataRecord.cs
- EntityParameter.cs
- FullTrustAssemblyCollection.cs
- Separator.cs
- RadioButtonList.cs
- ProviderSettings.cs
- ObjectDataSourceStatusEventArgs.cs
- SuppressMessageAttribute.cs
- GenericIdentity.cs
- DTCTransactionManager.cs
- XsltContext.cs
- HttpHandler.cs
- EntityDataSourceDataSelectionPanel.cs
- CheckedListBox.cs
- SQLDouble.cs
- AutomationElement.cs
- ModelFunction.cs
- BinaryFormatter.cs
- ClonableStack.cs
- CompilerGlobalScopeAttribute.cs
- MetadataHelper.cs
- Clause.cs
- ResourcePool.cs
- ZipFileInfoCollection.cs
- SoapEnvelopeProcessingElement.cs
- WebPartConnectionsCancelVerb.cs
- Int32Rect.cs
- StringWriter.cs
- DataError.cs
- ApplicationTrust.cs
- MatrixTransform.cs
- FreezableCollection.cs
- ObjectAssociationEndMapping.cs
- NonVisualControlAttribute.cs
- MulticastDelegate.cs
- Convert.cs
- PropertyEntry.cs
- Table.cs
- ProjectionPruner.cs
- _SingleItemRequestCache.cs
- oledbconnectionstring.cs
- DataGridViewColumnTypePicker.cs
- storepermission.cs
- NetworkInformationException.cs
- TimeSpan.cs
- ContractAdapter.cs
- VBIdentifierNameEditor.cs
- Math.cs
- WindowsGraphicsWrapper.cs
- ResXFileRef.cs
- codemethodreferenceexpression.cs
- KeyManager.cs
- OleDbConnectionInternal.cs
- QueryCacheKey.cs
- AsyncOperationContext.cs
- ObjectPersistData.cs
- _NegoState.cs
- RuleElement.cs
- TextTreeTextElementNode.cs
- TextBlock.cs
- ParameterToken.cs
- StringFreezingAttribute.cs
- EntityTypeEmitter.cs
- SubMenuStyle.cs
- TransformPattern.cs
- ObjectDataSourceEventArgs.cs
- ApplicationSettingsBase.cs
- SQLMoney.cs
- SpinWait.cs
- ImageKeyConverter.cs
- MailAddressParser.cs
- PageAsyncTaskManager.cs
- VideoDrawing.cs
- DPCustomTypeDescriptor.cs
- Geometry.cs
- _ConnectStream.cs
- CallbackWrapper.cs
- MessageAction.cs
- Int64Converter.cs
- Configuration.cs
- Int16Storage.cs
- bidPrivateBase.cs
- CharStorage.cs
- AppDomainProtocolHandler.cs
- RepeaterItemEventArgs.cs
- QueryStringParameter.cs
- _LocalDataStoreMgr.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- PromptStyle.cs
- XPathParser.cs
- StyleCollection.cs
- XsltLoader.cs
- CacheDict.cs
- SendKeys.cs
- CharAnimationBase.cs
- Tuple.cs
- Path.cs
- RegistryKey.cs
- RegexCaptureCollection.cs
- ColumnResizeAdorner.cs