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
- ItemDragEvent.cs
- WebException.cs
- nulltextcontainer.cs
- Int32RectValueSerializer.cs
- NamedElement.cs
- Properties.cs
- AppDomainManager.cs
- SiteOfOriginPart.cs
- RegexTree.cs
- HtmlWindow.cs
- SqlNamer.cs
- LinkLabel.cs
- DataGridCellClipboardEventArgs.cs
- RequiredFieldValidator.cs
- InteropBitmapSource.cs
- ContextMenu.cs
- DocumentGridPage.cs
- WebPartEditVerb.cs
- XslNumber.cs
- WithStatement.cs
- CalendarTable.cs
- PointLight.cs
- JsonXmlDataContract.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- unsafeIndexingFilterStream.cs
- AppSettingsExpressionBuilder.cs
- Rotation3DKeyFrameCollection.cs
- MethodImplAttribute.cs
- Types.cs
- DataGridViewCellMouseEventArgs.cs
- Soap11ServerProtocol.cs
- XmlSchemaAll.cs
- MdiWindowListStrip.cs
- ColumnCollection.cs
- QilInvokeEarlyBound.cs
- ObjectItemLoadingSessionData.cs
- OdbcFactory.cs
- ChangeNode.cs
- HtmlShimManager.cs
- GridViewDeletedEventArgs.cs
- DispatcherHookEventArgs.cs
- GZipDecoder.cs
- Canvas.cs
- IPEndPointCollection.cs
- OutOfProcStateClientManager.cs
- SqlFlattener.cs
- Lease.cs
- AnimationLayer.cs
- RelativeSource.cs
- AdornerLayer.cs
- TdsParserSafeHandles.cs
- OleDbReferenceCollection.cs
- DataSourceExpression.cs
- TableCellAutomationPeer.cs
- Button.cs
- XmlStringTable.cs
- ToolBar.cs
- TypeUtil.cs
- TextServicesCompartment.cs
- PageParser.cs
- ObjectDataSource.cs
- FilteredAttributeCollection.cs
- CellConstant.cs
- HtmlContainerControl.cs
- __Filters.cs
- KeyNotFoundException.cs
- ResourcePool.cs
- UpdateEventArgs.cs
- BitmapCacheBrush.cs
- HttpHandlerAction.cs
- XDRSchema.cs
- RequestCacheManager.cs
- Configuration.cs
- securitymgrsite.cs
- FormsAuthenticationConfiguration.cs
- CustomAssemblyResolver.cs
- XamlFilter.cs
- GeneratedCodeAttribute.cs
- ViewStateModeByIdAttribute.cs
- basevalidator.cs
- AssemblyAttributesGoHere.cs
- UniqueConstraint.cs
- UseManagedPresentationBindingElementImporter.cs
- ResourcesBuildProvider.cs
- DiagnosticsConfigurationHandler.cs
- ApplicationTrust.cs
- PassportIdentity.cs
- SmiEventSink_Default.cs
- DataGridItem.cs
- NativeCompoundFileAPIs.cs
- DrawingContextWalker.cs
- Property.cs
- StylusShape.cs
- RealProxy.cs
- ConfigXmlDocument.cs
- PassportPrincipal.cs
- ConnectionPoolManager.cs
- XamlSerializerUtil.cs
- PropertyGridDesigner.cs
- safex509handles.cs