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
- Console.cs
- FixedTextBuilder.cs
- TypefaceMap.cs
- SiteMapProvider.cs
- ManagedFilter.cs
- TreeNodeStyleCollection.cs
- BrowserCapabilitiesFactoryBase.cs
- EntityDataSourceWizardForm.cs
- PointLightBase.cs
- ControlEvent.cs
- WebPartHeaderCloseVerb.cs
- DocumentOrderComparer.cs
- serverconfig.cs
- XPathException.cs
- Int32Converter.cs
- HtmlInputSubmit.cs
- Renderer.cs
- PhysicalOps.cs
- TableCell.cs
- XmlCharacterData.cs
- DependsOnAttribute.cs
- ClipboardProcessor.cs
- ReflectionTypeLoadException.cs
- ExceptionValidationRule.cs
- TrackingRecord.cs
- DataGridViewCellParsingEventArgs.cs
- ConnectionStringsSection.cs
- SafeFindHandle.cs
- MergablePropertyAttribute.cs
- DataGridViewColumnHeaderCell.cs
- Control.cs
- LayoutEngine.cs
- XamlStyleSerializer.cs
- LineServices.cs
- FillErrorEventArgs.cs
- KerberosReceiverSecurityToken.cs
- IconHelper.cs
- CodeSnippetCompileUnit.cs
- EraserBehavior.cs
- PersonalizableAttribute.cs
- AssemblyHash.cs
- TypedTableBase.cs
- AssemblyCache.cs
- SqlNotificationRequest.cs
- PreviewPageInfo.cs
- TextShapeableCharacters.cs
- HwndHost.cs
- SystemSounds.cs
- SyntaxCheck.cs
- Wizard.cs
- EnvelopedSignatureTransform.cs
- LabelExpression.cs
- ButtonAutomationPeer.cs
- ResourcesGenerator.cs
- AxisAngleRotation3D.cs
- SqlErrorCollection.cs
- ToolStripSeparator.cs
- ValidationErrorEventArgs.cs
- TemplatedWizardStep.cs
- ErrorTableItemStyle.cs
- SourceFilter.cs
- LinqDataView.cs
- SiteMap.cs
- DateTimePickerDesigner.cs
- ModelUIElement3D.cs
- QueryStack.cs
- SoapSchemaImporter.cs
- InplaceBitmapMetadataWriter.cs
- TransactionFilter.cs
- CodeAttributeArgumentCollection.cs
- DesignTimeParseData.cs
- StringConverter.cs
- BindingMAnagerBase.cs
- XmlDocumentSurrogate.cs
- MulticastIPAddressInformationCollection.cs
- IsolationInterop.cs
- AccessedThroughPropertyAttribute.cs
- InputElement.cs
- TracePayload.cs
- Attributes.cs
- TaskFileService.cs
- BaseResourcesBuildProvider.cs
- XPathScanner.cs
- httpserverutility.cs
- DecimalAnimation.cs
- StylusTouchDevice.cs
- TypeSystem.cs
- MetadataArtifactLoaderComposite.cs
- WebRequestModulesSection.cs
- ConnectionsZone.cs
- HMAC.cs
- EntityTypeBase.cs
- HttpResponseWrapper.cs
- NameSpaceExtractor.cs
- _NegoStream.cs
- TdsParserSessionPool.cs
- DrawListViewSubItemEventArgs.cs
- BindingListCollectionView.cs
- Int32AnimationBase.cs
- NamedElement.cs