Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeOfExpression.cs / 1 / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContextMenuStrip.cs
- PolyLineSegment.cs
- SqlGatherConsumedAliases.cs
- BinaryCommonClasses.cs
- MediaTimeline.cs
- SessionSwitchEventArgs.cs
- panel.cs
- DtdParser.cs
- keycontainerpermission.cs
- Point3DAnimation.cs
- AppSettingsReader.cs
- TransactionFilter.cs
- RectValueSerializer.cs
- PowerModeChangedEventArgs.cs
- JsonReaderWriterFactory.cs
- TraceUtility.cs
- PeerApplication.cs
- SafeCertificateContext.cs
- XmlDataDocument.cs
- GetWinFXPath.cs
- Base64Encoding.cs
- InteropAutomationProvider.cs
- XmlDataSourceView.cs
- SafeRightsManagementQueryHandle.cs
- KoreanCalendar.cs
- ErrorStyle.cs
- ILGen.cs
- DataGridViewSelectedRowCollection.cs
- OleAutBinder.cs
- CompressionTracing.cs
- EventDescriptorCollection.cs
- HtmlEmptyTagControlBuilder.cs
- ChildrenQuery.cs
- TextBoxLine.cs
- TargetControlTypeAttribute.cs
- QuaternionAnimation.cs
- ModelTreeEnumerator.cs
- DataGridAddNewRow.cs
- DiagnosticTraceSchemas.cs
- SecuritySessionFilter.cs
- XPathMultyIterator.cs
- MDIWindowDialog.cs
- MonitorWrapper.cs
- Resources.Designer.cs
- HostProtectionException.cs
- WeakKeyDictionary.cs
- TemplateBindingExtensionConverter.cs
- OTFRasterizer.cs
- securitycriticaldataformultiplegetandset.cs
- ControlParameter.cs
- MaskDescriptor.cs
- ServerValidateEventArgs.cs
- SqlServices.cs
- WebPartDisplayModeCollection.cs
- TemplatedMailWebEventProvider.cs
- RegionData.cs
- SqlClientWrapperSmiStream.cs
- DetailsViewRowCollection.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- MouseCaptureWithinProperty.cs
- RequestBringIntoViewEventArgs.cs
- future.cs
- GridSplitter.cs
- AspProxy.cs
- ModelItemDictionaryImpl.cs
- DesignDataSource.cs
- CopyNamespacesAction.cs
- SqlDataAdapter.cs
- EmptyElement.cs
- PriorityChain.cs
- WindowsStatusBar.cs
- TranslateTransform.cs
- WebPartActionVerb.cs
- WindowsStatic.cs
- DrawTreeNodeEventArgs.cs
- smtpconnection.cs
- DeviceFilterDictionary.cs
- ShortcutKeysEditor.cs
- ProtectedProviderSettings.cs
- ComponentManagerBroker.cs
- DataGridItemAttachedStorage.cs
- WebBaseEventKeyComparer.cs
- Permission.cs
- ManagementInstaller.cs
- ClientConvert.cs
- JoinCqlBlock.cs
- CanonicalFormWriter.cs
- StringUtil.cs
- RecordBuilder.cs
- XmlCustomFormatter.cs
- XNodeValidator.cs
- ItemsPresenter.cs
- SoapException.cs
- SeparatorAutomationPeer.cs
- DrawingContext.cs
- _CommandStream.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- PageThemeParser.cs
- FilteredAttributeCollection.cs
- CommonDialog.cs