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
- RoleManagerSection.cs
- Rect3D.cs
- CompoundFileIOPermission.cs
- FontConverter.cs
- ColorMap.cs
- DataGridViewImageCell.cs
- _NetworkingPerfCounters.cs
- LoadItemsEventArgs.cs
- DropSource.cs
- MachineKey.cs
- Component.cs
- HashJoinQueryOperatorEnumerator.cs
- HttpValueCollection.cs
- RotateTransform3D.cs
- MetadataPropertyAttribute.cs
- ListBox.cs
- MessageFault.cs
- StrokeNodeEnumerator.cs
- RightsManagementEncryptionTransform.cs
- storepermissionattribute.cs
- WebControlsSection.cs
- HandleRef.cs
- SQLResource.cs
- ListItemCollection.cs
- RectAnimationUsingKeyFrames.cs
- RotateTransform.cs
- XmlTextEncoder.cs
- StrokeCollectionDefaultValueFactory.cs
- Mapping.cs
- MessageBuffer.cs
- Roles.cs
- PathStreamGeometryContext.cs
- SqlBuffer.cs
- SaveFileDialog.cs
- Viewport3DAutomationPeer.cs
- _AutoWebProxyScriptHelper.cs
- AsyncPostBackTrigger.cs
- RuleSettings.cs
- MessageProtectionOrder.cs
- CodeLinePragma.cs
- InputQueue.cs
- IndentTextWriter.cs
- FixedPosition.cs
- PointHitTestResult.cs
- XmlQueryContext.cs
- PagerSettings.cs
- FrameworkReadOnlyPropertyMetadata.cs
- GlobalizationSection.cs
- ResXResourceSet.cs
- RectAnimationBase.cs
- MessageQueueException.cs
- SqlUtil.cs
- EqualityComparer.cs
- invalidudtexception.cs
- MSG.cs
- namescope.cs
- UserControlCodeDomTreeGenerator.cs
- Menu.cs
- KeyInterop.cs
- FixedSOMTableRow.cs
- IPEndPointCollection.cs
- EntityProviderFactory.cs
- DataExpression.cs
- MultiAsyncResult.cs
- GrammarBuilderDictation.cs
- ActiveXHelper.cs
- CheckPair.cs
- ellipse.cs
- TraceContextEventArgs.cs
- ContentTextAutomationPeer.cs
- InlinedAggregationOperator.cs
- TypeConverterHelper.cs
- WebPartConnectionsDisconnectVerb.cs
- TCEAdapterGenerator.cs
- SkipStoryboardToFill.cs
- DictionaryManager.cs
- Boolean.cs
- LinearKeyFrames.cs
- Vector3DAnimation.cs
- EraserBehavior.cs
- TableRow.cs
- SiteMapProvider.cs
- SizeChangedInfo.cs
- CopyAttributesAction.cs
- SystemUnicastIPAddressInformation.cs
- WebPartEditorApplyVerb.cs
- ToolBar.cs
- JsonObjectDataContract.cs
- VSDExceptions.cs
- ArgumentOutOfRangeException.cs
- ApplicationDirectory.cs
- DocumentViewerBase.cs
- DrawingAttributes.cs
- SqlAggregateChecker.cs
- InternalTypeHelper.cs
- OleDbRowUpdatedEvent.cs
- ElementMarkupObject.cs
- ExceptQueryOperator.cs
- PageBuildProvider.cs
- ContentFileHelper.cs