Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PageAdapter.cs
- EnvironmentPermission.cs
- ProviderMetadata.cs
- PnrpPermission.cs
- PropertyInformationCollection.cs
- templategroup.cs
- CachedBitmap.cs
- FixedDocumentPaginator.cs
- COM2FontConverter.cs
- PageAsyncTask.cs
- TextEditorSpelling.cs
- DetailsView.cs
- ScaleTransform.cs
- CodeConstructor.cs
- EmptyStringExpandableObjectConverter.cs
- GridViewDeleteEventArgs.cs
- PersonalizationAdministration.cs
- VolatileResourceManager.cs
- MessageQueuePermissionEntry.cs
- DataGrid.cs
- UserPreferenceChangingEventArgs.cs
- SaveFileDialog.cs
- JoinCqlBlock.cs
- FormViewAutoFormat.cs
- CompilerInfo.cs
- RoleService.cs
- CodeCompiler.cs
- OracleEncoding.cs
- AuthorizationRuleCollection.cs
- _IPv6Address.cs
- ValueExpressions.cs
- SafeFileHandle.cs
- MobileListItemCollection.cs
- WpfGeneratedKnownTypes.cs
- Tuple.cs
- Highlights.cs
- ResourcePermissionBase.cs
- Typeface.cs
- HighContrastHelper.cs
- Triplet.cs
- SQLUtility.cs
- LongValidator.cs
- EmptyStringExpandableObjectConverter.cs
- HttpContext.cs
- XmlSecureResolver.cs
- ResourceDisplayNameAttribute.cs
- KeyTimeConverter.cs
- Vertex.cs
- TransformationRules.cs
- SynchronizationFilter.cs
- CompositeControl.cs
- GeneralTransform3DCollection.cs
- ConfigUtil.cs
- SmiContext.cs
- ResponseStream.cs
- ConfigXmlComment.cs
- SoapInteropTypes.cs
- MulticastNotSupportedException.cs
- Helper.cs
- SrgsDocument.cs
- MsmqDecodeHelper.cs
- NameValueCollection.cs
- RangeValidator.cs
- Unit.cs
- ModuleConfigurationInfo.cs
- InertiaExpansionBehavior.cs
- ToolConsole.cs
- SQLByte.cs
- ellipse.cs
- SafeThreadHandle.cs
- MenuItemCollectionEditorDialog.cs
- HitTestFilterBehavior.cs
- VerificationException.cs
- QuotedPrintableStream.cs
- DataServiceRequestOfT.cs
- ServiceDescription.cs
- DeferredSelectedIndexReference.cs
- WebServiceResponse.cs
- TablePattern.cs
- ProcessManager.cs
- BehaviorDragDropEventArgs.cs
- DbProviderSpecificTypePropertyAttribute.cs
- OpenFileDialog.cs
- Journaling.cs
- IImplicitResourceProvider.cs
- Simplifier.cs
- ReturnEventArgs.cs
- TextWriter.cs
- CounterSample.cs
- ListCollectionView.cs
- CreatingCookieEventArgs.cs
- ReversePositionQuery.cs
- ListViewGroupItemCollection.cs
- XmlDocumentType.cs
- SimpleFieldTemplateUserControl.cs
- GACMembershipCondition.cs
- PartitionResolver.cs
- SmtpCommands.cs
- FastPropertyAccessor.cs
- ModuleBuilder.cs