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
- Converter.cs
- DateTimeFormatInfo.cs
- TrackingExtract.cs
- UITypeEditors.cs
- HttpResponseBase.cs
- TemplateControlCodeDomTreeGenerator.cs
- Expr.cs
- MdbDataFileEditor.cs
- XmlSchema.cs
- XmlDigitalSignatureProcessor.cs
- FlowDocumentView.cs
- GrammarBuilder.cs
- SQLDouble.cs
- Camera.cs
- AQNBuilder.cs
- DataDocumentXPathNavigator.cs
- SqlFactory.cs
- DataGridViewCellStyle.cs
- ObjectSpanRewriter.cs
- MimeMultiPart.cs
- CommandCollectionEditor.cs
- DockPatternIdentifiers.cs
- WrappedIUnknown.cs
- ApplicationFileParser.cs
- SessionStateUtil.cs
- DbSetClause.cs
- InvokeMethod.cs
- fixedPageContentExtractor.cs
- XmlLoader.cs
- CategoryGridEntry.cs
- FormView.cs
- CodeExpressionCollection.cs
- ChannelManager.cs
- EntityDataSourceDesignerHelper.cs
- HighContrastHelper.cs
- QuerySafeNavigator.cs
- OutputCacheProviderCollection.cs
- DbMetaDataColumnNames.cs
- IconHelper.cs
- _ProxyChain.cs
- ScrollableControl.cs
- SerTrace.cs
- GAC.cs
- Int16Converter.cs
- UseAttributeSetsAction.cs
- SeparatorAutomationPeer.cs
- TextEditorDragDrop.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XmlUTF8TextWriter.cs
- Filter.cs
- LazyTextWriterCreator.cs
- AvTraceFormat.cs
- StrokeIntersection.cs
- ObjectFullSpanRewriter.cs
- HttpCachePolicyElement.cs
- TdsParser.cs
- XmlWriterSettings.cs
- TimeSpanOrInfiniteConverter.cs
- IChannel.cs
- TimeSpan.cs
- EventProviderWriter.cs
- NameSpaceEvent.cs
- VectorConverter.cs
- TypefaceMetricsCache.cs
- WebPartVerbsEventArgs.cs
- HebrewNumber.cs
- DataGridViewColumnConverter.cs
- StyleBamlRecordReader.cs
- StringBuilder.cs
- ConfigurationProviderException.cs
- Evidence.cs
- FileInfo.cs
- PolicyException.cs
- WebPartAuthorizationEventArgs.cs
- HMACRIPEMD160.cs
- ChangePasswordAutoFormat.cs
- List.cs
- QueryOptionExpression.cs
- StoreItemCollection.cs
- TabRenderer.cs
- TableLayoutPanel.cs
- OleDbConnectionFactory.cs
- SqlConnection.cs
- TableCell.cs
- Misc.cs
- PolyBezierSegmentFigureLogic.cs
- InkCanvasAutomationPeer.cs
- RuleRef.cs
- TargetControlTypeCache.cs
- ScrollProviderWrapper.cs
- MethodMessage.cs
- TextEditorTyping.cs
- ValueProviderWrapper.cs
- AnnotationHelper.cs
- GridSplitter.cs
- RelationshipDetailsRow.cs
- StrokeSerializer.cs
- XmlKeywords.cs
- MergeFilterQuery.cs
- CompoundFileStreamReference.cs