Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeOfExpression.cs / 1305376 / CodeTypeOfExpression.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 TypeOf expression.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeTypeOfExpression : CodeExpression {
private CodeTypeReference type;
///
///
/// Initializes a new instance of .
///
///
public CodeTypeOfExpression() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeTypeOfExpression(CodeTypeReference type) {
Type = type;
}
///
/// [To be supplied.]
///
public CodeTypeOfExpression(string type) {
Type = new CodeTypeReference(type);
}
///
/// [To be supplied.]
///
public CodeTypeOfExpression(Type type) {
Type = new CodeTypeReference(type);
}
///
///
/// Gets or sets the data type.
///
///
public CodeTypeReference Type {
get {
if (type == null) {
type = new CodeTypeReference("");
}
return type;
}
set {
type = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
//
// [....]
// 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 TypeOf expression.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeTypeOfExpression : CodeExpression {
private CodeTypeReference type;
///
///
/// Initializes a new instance of .
///
///
public CodeTypeOfExpression() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeTypeOfExpression(CodeTypeReference type) {
Type = type;
}
///
/// [To be supplied.]
///
public CodeTypeOfExpression(string type) {
Type = new CodeTypeReference(type);
}
///
/// [To be supplied.]
///
public CodeTypeOfExpression(Type type) {
Type = new CodeTypeReference(type);
}
///
///
/// Gets or sets the data type.
///
///
public CodeTypeReference Type {
get {
if (type == null) {
type = new CodeTypeReference("");
}
return type;
}
set {
type = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlCacheDependencyDatabaseCollection.cs
- Popup.cs
- TemplateControlParser.cs
- CallbackHandler.cs
- ObjectDataSourceView.cs
- PrintDialog.cs
- GestureRecognitionResult.cs
- HttpPostProtocolImporter.cs
- ProcessHost.cs
- ThemeableAttribute.cs
- TypedTableBase.cs
- WS2007HttpBinding.cs
- ClientRuntimeConfig.cs
- InfoCardTrace.cs
- BasePattern.cs
- InputProcessorProfilesLoader.cs
- CapiHashAlgorithm.cs
- QuaternionIndependentAnimationStorage.cs
- StatusBar.cs
- DataControlImageButton.cs
- EditingMode.cs
- ValueOfAction.cs
- DesignTimeVisibleAttribute.cs
- PeerToPeerException.cs
- StateMachine.cs
- HashRepartitionStream.cs
- FamilyMapCollection.cs
- Comparer.cs
- StrongNameKeyPair.cs
- ThrowHelper.cs
- NeutralResourcesLanguageAttribute.cs
- DependsOnAttribute.cs
- CellCreator.cs
- FixedSOMTextRun.cs
- DateBoldEvent.cs
- Debug.cs
- ToolboxComponentsCreatedEventArgs.cs
- BinaryObjectInfo.cs
- ExceptionNotification.cs
- TrustManagerPromptUI.cs
- LambdaCompiler.Lambda.cs
- BaseProcessor.cs
- Function.cs
- ConfigViewGenerator.cs
- NamedPipeWorkerProcess.cs
- SlipBehavior.cs
- VisualStateGroup.cs
- MethodBuilder.cs
- COM2Enum.cs
- AbsoluteQuery.cs
- TextEndOfLine.cs
- Point3DAnimationBase.cs
- Visitor.cs
- DrawingImage.cs
- DiagnosticsConfiguration.cs
- FlowDocumentFormatter.cs
- PerformanceCounterManager.cs
- LogSwitch.cs
- MULTI_QI.cs
- FixedDSBuilder.cs
- MatrixUtil.cs
- MemberProjectionIndex.cs
- ImageBrush.cs
- filewebrequest.cs
- EntityType.cs
- ControlBuilder.cs
- MultipleViewProviderWrapper.cs
- RSAOAEPKeyExchangeFormatter.cs
- ClrProviderManifest.cs
- baseaxisquery.cs
- SortableBindingList.cs
- NextPreviousPagerField.cs
- WebPermission.cs
- Bitmap.cs
- ConfigurationCollectionAttribute.cs
- basecomparevalidator.cs
- SamlSubjectStatement.cs
- precedingquery.cs
- Annotation.cs
- RightsController.cs
- SID.cs
- DiffuseMaterial.cs
- PKCS1MaskGenerationMethod.cs
- IssuedTokenServiceCredential.cs
- Deflater.cs
- EntityDataSourceChangingEventArgs.cs
- EditorZone.cs
- Marshal.cs
- DbMetaDataColumnNames.cs
- DataException.cs
- _ServiceNameStore.cs
- FileDataSourceCache.cs
- AuthorizationRule.cs
- TemplateControl.cs
- RuleSetCollection.cs
- DrawingState.cs
- DataSourceView.cs
- Codec.cs
- ProxyWebPartManager.cs
- TemplateDefinition.cs