Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
///
///
/// Represents a reference to a field.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeFieldReferenceExpression : CodeExpression {
private CodeExpression targetObject;
private string fieldName;
///
///
/// Initializes a new instance of .
///
///
public CodeFieldReferenceExpression() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) {
TargetObject = targetObject;
FieldName = fieldName;
}
///
///
/// Gets or sets
/// the target object.
///
///
public CodeExpression TargetObject {
get {
return targetObject;
}
set {
targetObject = value;
}
}
///
///
/// Gets or sets
/// the field name.
///
///
public string FieldName {
get {
return (fieldName == null) ? string.Empty : fieldName;
}
set {
fieldName = value;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExecutorLocksHeldException.cs
- TextEncodedRawTextWriter.cs
- ProgressBarAutomationPeer.cs
- ConnectionPoolManager.cs
- LookupNode.cs
- ResourcesChangeInfo.cs
- DoubleKeyFrameCollection.cs
- CompilerParameters.cs
- ToolboxCategoryItems.cs
- DefaultObjectMappingItemCollection.cs
- TaskFileService.cs
- FrugalMap.cs
- ActivityTrace.cs
- DetailsViewCommandEventArgs.cs
- Grant.cs
- Zone.cs
- ListBindableAttribute.cs
- AddressHeaderCollectionElement.cs
- HelpProvider.cs
- QilPatternVisitor.cs
- CookieParameter.cs
- AutoCompleteStringCollection.cs
- commandenforcer.cs
- AdjustableArrowCap.cs
- NetMsmqBindingElement.cs
- FolderLevelBuildProviderCollection.cs
- XamlWriter.cs
- WinInet.cs
- BitVec.cs
- Errors.cs
- AuthenticationManager.cs
- AnonymousIdentificationSection.cs
- TypeElement.cs
- EntitySqlException.cs
- SAPIEngineTypes.cs
- SoapEnumAttribute.cs
- TraceHandlerErrorFormatter.cs
- EventLogger.cs
- StorageConditionPropertyMapping.cs
- XmlMtomWriter.cs
- XComponentModel.cs
- MenuItemBinding.cs
- Vector3DAnimationUsingKeyFrames.cs
- BuildDependencySet.cs
- XmlValidatingReaderImpl.cs
- QueryExpr.cs
- TableDetailsCollection.cs
- FunctionImportElement.cs
- ItemCollection.cs
- MediaPlayerState.cs
- StorageConditionPropertyMapping.cs
- AppSecurityManager.cs
- TextEndOfParagraph.cs
- HttpHostedTransportConfiguration.cs
- EventHandlerList.cs
- MimeTypePropertyAttribute.cs
- EntityDescriptor.cs
- DesignerDataTableBase.cs
- Schema.cs
- CreateRefExpr.cs
- WebHttpElement.cs
- MultiBindingExpression.cs
- Console.cs
- CLSCompliantAttribute.cs
- GC.cs
- DataTableClearEvent.cs
- GeneratedContractType.cs
- SmiEventSink_DeferedProcessing.cs
- FixedSOMFixedBlock.cs
- Vector3DKeyFrameCollection.cs
- SmtpDigestAuthenticationModule.cs
- BamlRecordWriter.cs
- PipelineModuleStepContainer.cs
- log.cs
- DockAndAnchorLayout.cs
- UnauthorizedWebPart.cs
- WsdlParser.cs
- MetadataFile.cs
- DataRecordObjectView.cs
- Literal.cs
- MissingManifestResourceException.cs
- TypedTableBase.cs
- SByteStorage.cs
- SurrogateSelector.cs
- MenuAutomationPeer.cs
- WmlLabelAdapter.cs
- HttpCacheVaryByContentEncodings.cs
- ListDictionary.cs
- ObjectDataSourceMethodEventArgs.cs
- NativeMethods.cs
- PersonalizationStateInfoCollection.cs
- ActivitySurrogateSelector.cs
- SystemFonts.cs
- XmlSignatureManifest.cs
- SchemaImporter.cs
- RequestSecurityToken.cs
- TableLayoutRowStyleCollection.cs
- _HTTPDateParse.cs
- EventLogInternal.cs
- CAGDesigner.cs