Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcConnectionStringbuilder.cs
- JsonCollectionDataContract.cs
- BrowsableAttribute.cs
- JoinSymbol.cs
- LocatorPartList.cs
- ChannelManager.cs
- ObjectDataSourceFilteringEventArgs.cs
- AliasedSlot.cs
- InternalControlCollection.cs
- ProjectionCamera.cs
- WebUtil.cs
- InternalResources.cs
- PropertyTabAttribute.cs
- ControlTemplate.cs
- ServiceReference.cs
- OdbcDataAdapter.cs
- SqlRowUpdatedEvent.cs
- VerificationAttribute.cs
- SmtpTransport.cs
- StrokeNodeOperations.cs
- HttpValueCollection.cs
- Int64Animation.cs
- FtpWebRequest.cs
- WebPartDeleteVerb.cs
- Soap.cs
- ValueQuery.cs
- HandleCollector.cs
- Enumerable.cs
- ChangePassword.cs
- ResourceExpressionBuilder.cs
- TextEffect.cs
- RunWorkerCompletedEventArgs.cs
- URLMembershipCondition.cs
- FixedSOMImage.cs
- KnownBoxes.cs
- ConfigsHelper.cs
- HttpContext.cs
- Publisher.cs
- StylusButtonCollection.cs
- MsmqTransportReceiveParameters.cs
- ByteStack.cs
- RIPEMD160.cs
- ShapeTypeface.cs
- _HeaderInfo.cs
- WebDescriptionAttribute.cs
- RevocationPoint.cs
- FloaterBaseParagraph.cs
- InstanceLockException.cs
- RangeExpression.cs
- DataSourceView.cs
- ZeroOpNode.cs
- OperationCanceledException.cs
- CharUnicodeInfo.cs
- CodeComment.cs
- validation.cs
- InkCanvasSelectionAdorner.cs
- InstanceKey.cs
- SwitchLevelAttribute.cs
- XPathException.cs
- NTAccount.cs
- dtdvalidator.cs
- XpsFilter.cs
- DataServiceResponse.cs
- MergeLocalizationDirectives.cs
- Config.cs
- SqlCacheDependencyDatabaseCollection.cs
- Error.cs
- StaticFileHandler.cs
- DynamicRenderer.cs
- SqlDataSourceCommandEventArgs.cs
- BasicCellRelation.cs
- ListViewInsertedEventArgs.cs
- DataBindingHandlerAttribute.cs
- TdsParserSafeHandles.cs
- ZipFileInfo.cs
- XPathArrayIterator.cs
- FrameAutomationPeer.cs
- DataGridRowsPresenter.cs
- ParseHttpDate.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- ScopelessEnumAttribute.cs
- ObjectViewListener.cs
- DecimalConstantAttribute.cs
- DesignerProperties.cs
- AssertValidation.cs
- _HTTPDateParse.cs
- QueryStringParameter.cs
- XamlTemplateSerializer.cs
- RubberbandSelector.cs
- IteratorFilter.cs
- BaseValidatorDesigner.cs
- StorageAssociationSetMapping.cs
- CodeCommentStatement.cs
- WmlMobileTextWriter.cs
- SQLChars.cs
- HostingEnvironmentWrapper.cs
- MenuRendererStandards.cs
- ComponentEvent.cs
- DocumentPage.cs
- AuthenticationManager.cs