Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodePropertyReferenceExpression.cs / 1 / CodePropertyReferenceExpression.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 property.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodePropertyReferenceExpression : CodeExpression {
private CodeExpression targetObject;
private string propertyName;
private CodeExpressionCollection parameters = new CodeExpressionCollection();
///
///
/// Initializes a new instance of .
///
///
public CodePropertyReferenceExpression() {
}
///
///
/// Initializes a new instance of using the specified target object and property
/// name.
///
///
public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) {
TargetObject = targetObject;
PropertyName = propertyName;
}
///
///
/// The target object containing the property this references.
///
///
public CodeExpression TargetObject {
get {
return targetObject;
}
set {
targetObject = value;
}
}
///
///
/// The name of the property to reference.
///
///
public string PropertyName {
get {
return (propertyName == null) ? string.Empty : propertyName;
}
set {
propertyName = value;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StorageBasedPackageProperties.cs
- AssemblyContextControlItem.cs
- DesignerActionKeyboardBehavior.cs
- CollectionBuilder.cs
- AudioFileOut.cs
- AstTree.cs
- GPRECT.cs
- PlanCompiler.cs
- AdCreatedEventArgs.cs
- ListParagraph.cs
- elementinformation.cs
- ReadWriteObjectLock.cs
- RelatedImageListAttribute.cs
- UInt32.cs
- StorageMappingFragment.cs
- TreeNodeEventArgs.cs
- PersonalizationProviderCollection.cs
- MobileControlsSectionHelper.cs
- SerialPinChanges.cs
- NetDispatcherFaultException.cs
- MetaChildrenColumn.cs
- ADMembershipProvider.cs
- AsymmetricKeyExchangeDeformatter.cs
- TextPattern.cs
- Encoder.cs
- ObjectDataSourceSelectingEventArgs.cs
- DES.cs
- StopStoryboard.cs
- DynamicFilterExpression.cs
- NonVisualControlAttribute.cs
- TrustExchangeException.cs
- StronglyTypedResourceBuilder.cs
- Animatable.cs
- DataControlFieldTypeEditor.cs
- SplineKeyFrames.cs
- EFTableProvider.cs
- HttpDictionary.cs
- mda.cs
- BaseCollection.cs
- EventListener.cs
- Error.cs
- TextSimpleMarkerProperties.cs
- InstalledFontCollection.cs
- MissingManifestResourceException.cs
- OutputCacheSettings.cs
- PrimitiveDataContract.cs
- SimpleBitVector32.cs
- Addressing.cs
- InternalPolicyElement.cs
- LongValidator.cs
- ListenerConstants.cs
- ToolStripHighContrastRenderer.cs
- SmiMetaDataProperty.cs
- BinaryMethodMessage.cs
- DbConnectionStringCommon.cs
- AffineTransform3D.cs
- ToolStripPanelRow.cs
- XmlQuerySequence.cs
- DocumentReference.cs
- BitStack.cs
- ConfigPathUtility.cs
- CodePageEncoding.cs
- SqlStream.cs
- Vector3DConverter.cs
- TiffBitmapDecoder.cs
- TableColumn.cs
- RawAppCommandInputReport.cs
- NamedPipeTransportSecurityElement.cs
- FilteredXmlReader.cs
- RadioButtonAutomationPeer.cs
- WrappedIUnknown.cs
- Rfc2898DeriveBytes.cs
- ClientRolePrincipal.cs
- ToolboxComponentsCreatingEventArgs.cs
- SystemWebExtensionsSectionGroup.cs
- WebBrowserUriTypeConverter.cs
- StrokeNodeOperations.cs
- PrintSystemException.cs
- ObjectAnimationBase.cs
- HttpClientCredentialType.cs
- Repeater.cs
- PointUtil.cs
- TableLayoutSettings.cs
- EnvironmentPermission.cs
- ValidationSummary.cs
- DurableMessageDispatchInspector.cs
- CustomError.cs
- SqlConnectionPoolProviderInfo.cs
- XmlConverter.cs
- UniqueEventHelper.cs
- UpdateManifestForBrowserApplication.cs
- SqlUdtInfo.cs
- ClientSettings.cs
- COM2Enum.cs
- SqlXml.cs
- PrintEvent.cs
- ClientConfigPaths.cs
- AxDesigner.cs
- TimeBoundedCache.cs
- LogicalExpressionEditor.cs