Code:
/ FX-1434 / FX-1434 / 1.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
- DataStreamFromComStream.cs
- EffectiveValueEntry.cs
- DataGridPagerStyle.cs
- XmlParser.cs
- StreamAsIStream.cs
- PageVisual.cs
- ExpanderAutomationPeer.cs
- VectorCollectionValueSerializer.cs
- RequestCacheEntry.cs
- ProfileBuildProvider.cs
- ListenerSingletonConnectionReader.cs
- PopupRoot.cs
- StrokeNodeEnumerator.cs
- GiveFeedbackEvent.cs
- GridViewDesigner.cs
- ActivationServices.cs
- LowerCaseStringConverter.cs
- ResXDataNode.cs
- DatatypeImplementation.cs
- SettingsProviderCollection.cs
- CollectionView.cs
- ParameterElementCollection.cs
- CompiledQueryCacheKey.cs
- SqlFunctionAttribute.cs
- __FastResourceComparer.cs
- TextBox.cs
- _UriTypeConverter.cs
- ComboBoxAutomationPeer.cs
- ChildChangedEventArgs.cs
- ScriptReferenceBase.cs
- TypefaceMap.cs
- SqlRowUpdatingEvent.cs
- DataGridViewIntLinkedList.cs
- Point3DAnimationUsingKeyFrames.cs
- Instrumentation.cs
- MD5.cs
- MostlySingletonList.cs
- SecurityContext.cs
- HostingEnvironment.cs
- BaseCodeDomTreeGenerator.cs
- HelpProvider.cs
- WriteableBitmap.cs
- SerializationHelper.cs
- IOException.cs
- ExpressionWriter.cs
- MaterialGroup.cs
- Stream.cs
- ProvideValueServiceProvider.cs
- TimeoutTimer.cs
- CultureSpecificStringDictionary.cs
- OpCopier.cs
- HandlerBase.cs
- UnauthorizedWebPart.cs
- SettingsAttributes.cs
- SQLString.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- WpfGeneratedKnownTypes.cs
- SqlUserDefinedAggregateAttribute.cs
- CharEnumerator.cs
- EntitySetRetriever.cs
- Pkcs9Attribute.cs
- EncryptedKey.cs
- filewebrequest.cs
- DesignerActionGlyph.cs
- WCFServiceClientProxyGenerator.cs
- TagPrefixCollection.cs
- ItemAutomationPeer.cs
- DetailsViewUpdatedEventArgs.cs
- DataSourceNameHandler.cs
- DataGridViewColumnHeaderCell.cs
- MulticastDelegate.cs
- IdentityValidationException.cs
- SqlLiftIndependentRowExpressions.cs
- CodeTypeConstructor.cs
- HttpContext.cs
- Emitter.cs
- InteropBitmapSource.cs
- CounterNameConverter.cs
- CodeTypeReferenceCollection.cs
- SpecialNameAttribute.cs
- StrokeCollectionConverter.cs
- ProjectionAnalyzer.cs
- OleDbCommand.cs
- CqlBlock.cs
- ExceptionUtility.cs
- ResourceDescriptionAttribute.cs
- WebProxyScriptElement.cs
- AnnotationResourceChangedEventArgs.cs
- MetadataCollection.cs
- PeerApplication.cs
- ElementHostAutomationPeer.cs
- ConfigXmlText.cs
- RoutedEventConverter.cs
- TextEffectCollection.cs
- IgnoreFileBuildProvider.cs
- CanExecuteRoutedEventArgs.cs
- GridViewColumnHeaderAutomationPeer.cs
- Currency.cs
- ClientTarget.cs
- SchemaInfo.cs