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
- ConvertersCollection.cs
- Registry.cs
- WebEvents.cs
- TextDecorationCollection.cs
- Transform3D.cs
- MeasurementDCInfo.cs
- EventSetterHandlerConverter.cs
- XmlSchemas.cs
- AlternateView.cs
- _ListenerAsyncResult.cs
- UnionExpr.cs
- COAUTHINFO.cs
- ReadWriteObjectLock.cs
- SqlClientFactory.cs
- FrameworkElementAutomationPeer.cs
- TextFormatterContext.cs
- CheckBoxStandardAdapter.cs
- PeerInvitationResponse.cs
- InkCanvasInnerCanvas.cs
- Resources.Designer.cs
- ParameterBuilder.cs
- FillErrorEventArgs.cs
- IteratorDescriptor.cs
- Wizard.cs
- SHA512Managed.cs
- PerformanceCounterCategory.cs
- FontStyleConverter.cs
- InputLanguageSource.cs
- FlowDocumentPaginator.cs
- SqlDataSourceView.cs
- VectorAnimationBase.cs
- CompiledXpathExpr.cs
- SectionVisual.cs
- WebPartVerb.cs
- BoolExpr.cs
- FormsAuthenticationTicket.cs
- ProcessHost.cs
- WebPartManagerInternals.cs
- Image.cs
- PhysicalFontFamily.cs
- OfTypeExpression.cs
- CssTextWriter.cs
- CacheVirtualItemsEvent.cs
- APCustomTypeDescriptor.cs
- HttpFileCollection.cs
- FileBasedResourceGroveler.cs
- MemoryMappedViewAccessor.cs
- PopOutPanel.cs
- URL.cs
- BeginStoryboard.cs
- ProgressBarRenderer.cs
- IteratorDescriptor.cs
- DbConnectionPoolGroupProviderInfo.cs
- TypeBinaryExpression.cs
- MobileControlBuilder.cs
- EnumValAlphaComparer.cs
- IArgumentProvider.cs
- HostnameComparisonMode.cs
- DbConnectionFactory.cs
- OracleInfoMessageEventArgs.cs
- DependencyPropertyDescriptor.cs
- GeneralTransformGroup.cs
- CodeRemoveEventStatement.cs
- TraceSwitch.cs
- X509Certificate.cs
- UrlPath.cs
- XMLUtil.cs
- XmlFormatExtensionPointAttribute.cs
- TypeGeneratedEventArgs.cs
- MultiSelector.cs
- VisualTarget.cs
- Delay.cs
- UnsignedPublishLicense.cs
- Table.cs
- WebBrowser.cs
- DetailsViewInsertedEventArgs.cs
- _Win32.cs
- LinkedResourceCollection.cs
- LogPolicy.cs
- DisableDpiAwarenessAttribute.cs
- AssociationTypeEmitter.cs
- PrintDialogException.cs
- DecimalKeyFrameCollection.cs
- RegexMatch.cs
- HttpHandlersSection.cs
- XmlNamespaceMappingCollection.cs
- IIS7UserPrincipal.cs
- SiteMapDataSource.cs
- FontNamesConverter.cs
- ThemeInfoAttribute.cs
- DataGridTemplateColumn.cs
- UnsafeNativeMethods.cs
- TableLayoutSettingsTypeConverter.cs
- AssemblyHelper.cs
- InternalMappingException.cs
- FlowDocumentPaginator.cs
- VersionedStream.cs
- MenuItemBindingCollection.cs
- Switch.cs
- OdbcConnectionOpen.cs