Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeFieldReferenceExpression.cs / 1 / CodeFieldReferenceExpression.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeFieldReferenceExpression : CodeExpression { private CodeExpression targetObject; private string fieldName; ////// Represents a reference to a field. /// ////// public CodeFieldReferenceExpression() { } ////// Initializes a new instance of ///. /// /// public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) { TargetObject = targetObject; FieldName = fieldName; } ////// Initializes a new instance of ///. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public string FieldName { get { return (fieldName == null) ? string.Empty : fieldName; } set { fieldName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the field name. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeFieldReferenceExpression : CodeExpression { private CodeExpression targetObject; private string fieldName; ////// Represents a reference to a field. /// ////// public CodeFieldReferenceExpression() { } ////// Initializes a new instance of ///. /// /// public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) { TargetObject = targetObject; FieldName = fieldName; } ////// Initializes a new instance of ///. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public string FieldName { get { return (fieldName == null) ? string.Empty : fieldName; } set { fieldName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the field name. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingContext.cs
- Timer.cs
- BackgroundWorker.cs
- XPathExpr.cs
- DashStyle.cs
- WindowsEditBox.cs
- TextMetrics.cs
- ProfileManager.cs
- TrackingValidationObjectDictionary.cs
- DecimalAnimationUsingKeyFrames.cs
- DeriveBytes.cs
- CellParagraph.cs
- XsltException.cs
- GroupItemAutomationPeer.cs
- DbParameterCollectionHelper.cs
- Menu.cs
- panel.cs
- CustomAttributeSerializer.cs
- DesignerWithHeader.cs
- HistoryEventArgs.cs
- HtmlTitle.cs
- EntityModelBuildProvider.cs
- EventProxy.cs
- MethodRental.cs
- TypeEnumerableViewSchema.cs
- CorePropertiesFilter.cs
- Converter.cs
- PerformanceCountersElement.cs
- ScrollViewerAutomationPeer.cs
- DBSchemaTable.cs
- SerializableAttribute.cs
- UriScheme.cs
- GeometryConverter.cs
- StylusSystemGestureEventArgs.cs
- OrderToken.cs
- VisualBrush.cs
- ThemeableAttribute.cs
- NoneExcludedImageIndexConverter.cs
- WebPartAddingEventArgs.cs
- ObjectQueryProvider.cs
- CSharpCodeProvider.cs
- XmlBinaryReaderSession.cs
- CfgSemanticTag.cs
- HelpInfo.cs
- ProcessRequestArgs.cs
- Message.cs
- EventLog.cs
- X509CertificateClaimSet.cs
- BitmapPalette.cs
- VisualBrush.cs
- FormatConvertedBitmap.cs
- TextRunCacheImp.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- HtmlInputPassword.cs
- DefaultAssemblyResolver.cs
- EastAsianLunisolarCalendar.cs
- _FtpControlStream.cs
- BasicHttpMessageCredentialType.cs
- EndEvent.cs
- SelectionListDesigner.cs
- FileChangesMonitor.cs
- DesignerUtility.cs
- InvalidCastException.cs
- LinqDataSourceContextData.cs
- VectorKeyFrameCollection.cs
- Lasso.cs
- BasePattern.cs
- DynamicMetaObjectBinder.cs
- DataGridViewSortCompareEventArgs.cs
- BitmapCodecInfoInternal.cs
- BitArray.cs
- SiteIdentityPermission.cs
- HttpModulesSection.cs
- BaseCollection.cs
- sortedlist.cs
- InheritanceRules.cs
- NotFiniteNumberException.cs
- CachingParameterInspector.cs
- MatrixAnimationUsingKeyFrames.cs
- CollectionsUtil.cs
- ListContractAdapter.cs
- UDPClient.cs
- XmlSchemaType.cs
- WSIdentityFaultException.cs
- NegotiateStream.cs
- InputBindingCollection.cs
- XmlDocumentSerializer.cs
- DataColumnChangeEvent.cs
- ScrollItemProviderWrapper.cs
- CornerRadius.cs
- CopyAttributesAction.cs
- RegisteredArrayDeclaration.cs
- SqlHelper.cs
- Themes.cs
- FillErrorEventArgs.cs
- LinqDataSourceStatusEventArgs.cs
- SafeSystemMetrics.cs
- TrackPoint.cs
- XmlSchemaChoice.cs
- AuthenticateEventArgs.cs