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
- ResolvedKeyFrameEntry.cs
- ControlPaint.cs
- SelectionUIHandler.cs
- Context.cs
- Model3D.cs
- MethodCallConverter.cs
- FreezableCollection.cs
- XmlSchemaCompilationSettings.cs
- URIFormatException.cs
- AuthenticationException.cs
- SerializationAttributes.cs
- ErasingStroke.cs
- MsmqIntegrationBinding.cs
- MouseWheelEventArgs.cs
- FileClassifier.cs
- SqlWorkflowPersistenceService.cs
- AspNetRouteServiceHttpHandler.cs
- ObjectDataSourceFilteringEventArgs.cs
- Crc32.cs
- DbConnectionFactory.cs
- EventSinkHelperWriter.cs
- UnauthorizedAccessException.cs
- LoginView.cs
- IntSecurity.cs
- DynamicResourceExtensionConverter.cs
- VirtualPathProvider.cs
- XmlObjectSerializerReadContext.cs
- Exceptions.cs
- COM2IProvidePropertyBuilderHandler.cs
- SystemIPInterfaceStatistics.cs
- PrintingPermissionAttribute.cs
- ConfigsHelper.cs
- wgx_exports.cs
- FixUp.cs
- EditorReuseAttribute.cs
- HtmlAnchor.cs
- SystemDropShadowChrome.cs
- NotSupportedException.cs
- IntranetCredentialPolicy.cs
- CodeRemoveEventStatement.cs
- StringBlob.cs
- Variant.cs
- Internal.cs
- CommandLineParser.cs
- GridEntry.cs
- Unit.cs
- WebPartMenu.cs
- WebInvokeAttribute.cs
- ControlPropertyNameConverter.cs
- TabRenderer.cs
- FixedPage.cs
- SchemaNotation.cs
- HttpModulesSection.cs
- EnumConverter.cs
- ListItemConverter.cs
- PenThreadPool.cs
- RealProxy.cs
- _SpnDictionary.cs
- TimerExtension.cs
- ParallelTimeline.cs
- SerializationException.cs
- CredentialSelector.cs
- XmlObjectSerializerWriteContextComplex.cs
- LabelTarget.cs
- IdentityReference.cs
- DataBindingCollection.cs
- ClientBuildManager.cs
- Error.cs
- ControllableStoryboardAction.cs
- RequestTimeoutManager.cs
- TextEditorTables.cs
- DataListCommandEventArgs.cs
- GeometryCombineModeValidation.cs
- TextServicesDisplayAttributePropertyRanges.cs
- StylusEventArgs.cs
- FileUpload.cs
- StyleHelper.cs
- NativeMethodsOther.cs
- SqlErrorCollection.cs
- FrugalMap.cs
- AsyncOperationContext.cs
- LogArchiveSnapshot.cs
- ProcessModule.cs
- BinaryObjectReader.cs
- TrackingMemoryStreamFactory.cs
- CompiledRegexRunner.cs
- FastPropertyAccessor.cs
- ClientSettingsStore.cs
- DbConnectionFactory.cs
- SchemaElement.cs
- ToolboxItemCollection.cs
- XmlHierarchicalEnumerable.cs
- RoutedEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- RadioButton.cs
- Token.cs
- WinFormsUtils.cs
- TextTreeDeleteContentUndoUnit.cs
- ProfileBuildProvider.cs