Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / BindingMemberInfo.cs / 1305376 / BindingMemberInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Globalization; ////// /// public struct BindingMemberInfo { private string dataList; private string dataField; ///[To be supplied.] ////// /// public BindingMemberInfo(string dataMember) { if (dataMember == null) dataMember = ""; int lastDot = dataMember.LastIndexOf("."); if (lastDot != -1) { dataList = dataMember.Substring(0,lastDot); dataField = dataMember.Substring(lastDot+1); } else { dataList = ""; dataField = dataMember; } } ///[To be supplied.] ////// /// public string BindingPath { get { return (dataList != null ? dataList : ""); } } ///[To be supplied.] ////// /// public string BindingField { get { return (dataField != null ? dataField : ""); } } ///[To be supplied.] ////// /// public string BindingMember { get { return (BindingPath.Length > 0 ? BindingPath + "." + BindingField : BindingField); } } ///[To be supplied.] ////// /// public override bool Equals(object otherObject) { if (otherObject is BindingMemberInfo) { BindingMemberInfo otherMember = (BindingMemberInfo) otherObject; return (String.Equals(this.BindingMember, otherMember.BindingMember, StringComparison.OrdinalIgnoreCase)); } return false; } public static bool operator ==(BindingMemberInfo a, BindingMemberInfo b) { return a.Equals(b); } public static bool operator !=(BindingMemberInfo a, BindingMemberInfo b) { return !a.Equals(b); } ///[To be supplied.] ////// /// public override int GetHashCode() { return base.GetHashCode(); } } } // 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
- ViewCellSlot.cs
- GPPOINTF.cs
- FocusManager.cs
- SplayTreeNode.cs
- ServiceOperationWrapper.cs
- Attributes.cs
- SqlConnectionPoolGroupProviderInfo.cs
- UnsignedPublishLicense.cs
- IgnoreDeviceFilterElement.cs
- AstTree.cs
- FileDialog.cs
- ProcessHostConfigUtils.cs
- UdpTransportBindingElement.cs
- SoapHttpTransportImporter.cs
- BindingOperations.cs
- WebServiceReceive.cs
- ContextStack.cs
- DateTimeFormatInfo.cs
- DrawingAttributeSerializer.cs
- PropertyContainer.cs
- RangeValuePatternIdentifiers.cs
- Activator.cs
- PrintPageEvent.cs
- GeometryHitTestResult.cs
- AtomServiceDocumentSerializer.cs
- ConfigViewGenerator.cs
- Point3DAnimation.cs
- DocumentPage.cs
- DecimalKeyFrameCollection.cs
- TabRenderer.cs
- ProxyHelper.cs
- SqlTriggerContext.cs
- XmlSecureResolver.cs
- NavigatingCancelEventArgs.cs
- PeerUnsafeNativeCryptMethods.cs
- AstNode.cs
- ItemAutomationPeer.cs
- SoapExtensionImporter.cs
- ObjectTag.cs
- GenericParameterDataContract.cs
- ToolboxItemFilterAttribute.cs
- Run.cs
- TextServicesCompartmentContext.cs
- SimpleHandlerBuildProvider.cs
- AutomationElementCollection.cs
- ButtonBaseDesigner.cs
- NavigationPropertyEmitter.cs
- AVElementHelper.cs
- SerialErrors.cs
- DynamicArgumentDesigner.xaml.cs
- BamlRecordReader.cs
- BinaryWriter.cs
- XmlQueryTypeFactory.cs
- ISessionStateStore.cs
- UnitySerializationHolder.cs
- LinkedResource.cs
- Debug.cs
- DbParameterCollectionHelper.cs
- DelayedRegex.cs
- PropertyGroupDescription.cs
- CultureInfoConverter.cs
- PropertyEmitter.cs
- FtpCachePolicyElement.cs
- SqlDelegatedTransaction.cs
- WindowsGraphics.cs
- EventRoute.cs
- MessageQueuePermissionEntry.cs
- PropertyEntry.cs
- UpdateTracker.cs
- FamilyCollection.cs
- TemplateXamlParser.cs
- XmlRawWriterWrapper.cs
- SizeAnimationUsingKeyFrames.cs
- ContentIterators.cs
- DataServiceRequestOfT.cs
- EnvelopedPkcs7.cs
- VectorAnimationUsingKeyFrames.cs
- ConcurrentBag.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- EdmValidator.cs
- ChangePassword.cs
- MasterPageBuildProvider.cs
- Intellisense.cs
- DataTable.cs
- PropertyRef.cs
- AttributeProviderAttribute.cs
- NullableLongAverageAggregationOperator.cs
- PackageFilter.cs
- XmlWriter.cs
- SoapBinding.cs
- LinqDataSourceHelper.cs
- OutputWindow.cs
- ConfigurationManager.cs
- DataPagerField.cs
- CodeCompiler.cs
- XmlSubtreeReader.cs
- DataGridHeaderBorder.cs
- VirtualizingStackPanel.cs
- LOSFormatter.cs
- SettingsProperty.cs