Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeFieldReferenceExpression.cs / 1305376 / CodeFieldReferenceExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- ControlPaint.cs
- GeometryCombineModeValidation.cs
- ColumnWidthChangedEvent.cs
- ToolStripItemImageRenderEventArgs.cs
- ValidationErrorCollection.cs
- MetafileHeaderEmf.cs
- FlowDocumentReader.cs
- DataGridViewImageColumn.cs
- BorderGapMaskConverter.cs
- SafeRightsManagementQueryHandle.cs
- ReflectionTypeLoadException.cs
- SingleResultAttribute.cs
- DbConnectionStringCommon.cs
- SubMenuStyleCollection.cs
- ChtmlCommandAdapter.cs
- TextAutomationPeer.cs
- ProfessionalColors.cs
- QilInvoke.cs
- AnnotationStore.cs
- PrtCap_Reader.cs
- StringUtil.cs
- MiniCustomAttributeInfo.cs
- LockRecursionException.cs
- Exceptions.cs
- DataGridViewCellStyleConverter.cs
- OdbcReferenceCollection.cs
- DirectionalLight.cs
- ImportStoreException.cs
- SchemaConstraints.cs
- TraceInternal.cs
- HorizontalAlignConverter.cs
- FileSystemInfo.cs
- FormatSettings.cs
- Types.cs
- FontWeightConverter.cs
- XmlSiteMapProvider.cs
- SoapIgnoreAttribute.cs
- DoubleAnimation.cs
- SimpleTypeResolver.cs
- cookiecontainer.cs
- XmlDataDocument.cs
- BamlStream.cs
- File.cs
- TextWriter.cs
- KeyTime.cs
- SubMenuStyleCollection.cs
- TextUtf8RawTextWriter.cs
- ContentType.cs
- InfoCardServiceInstallComponent.cs
- ExtendedProperty.cs
- DataGridViewSelectedCellCollection.cs
- PathFigure.cs
- SingleSelectRootGridEntry.cs
- DataFormat.cs
- XmlSchemaGroupRef.cs
- FrameworkEventSource.cs
- SoapSchemaMember.cs
- HwndProxyElementProvider.cs
- Compress.cs
- Context.cs
- DesignerLoader.cs
- XmlElementCollection.cs
- CqlParserHelpers.cs
- Semaphore.cs
- XmlCharType.cs
- TriggerActionCollection.cs
- RuleSettingsCollection.cs
- CryptoStream.cs
- CallContext.cs
- OSFeature.cs
- ReflectionUtil.cs
- FacetEnabledSchemaElement.cs
- Attributes.cs
- DataRowCollection.cs
- OleDbRowUpdatingEvent.cs
- TableStyle.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TreeViewImageIndexConverter.cs
- KeyInfo.cs
- HttpCapabilitiesSectionHandler.cs
- SqlTransaction.cs
- VSWCFServiceContractGenerator.cs
- QuestionEventArgs.cs
- TemplateXamlParser.cs
- DirectoryGroupQuery.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ThreadExceptionDialog.cs
- DataGridViewRow.cs
- filewebrequest.cs
- MissingMemberException.cs
- IdentityVerifier.cs
- MetadataUtilsSmi.cs
- InternalConfigHost.cs
- NetworkInformationException.cs
- TypeLoadException.cs
- PerformanceCountersElement.cs
- ThreadAttributes.cs
- GenericUriParser.cs
- JournalEntryListConverter.cs
- ToolboxControl.cs