Code:
/ DotNET / DotNET / 8.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
- ExpressionBinding.cs
- ProcessHost.cs
- Enum.cs
- IndentedWriter.cs
- ButtonBaseAdapter.cs
- UIElement.cs
- CachedRequestParams.cs
- Helpers.cs
- Descriptor.cs
- MgmtConfigurationRecord.cs
- TransformerConfigurationWizardBase.cs
- ControlAdapter.cs
- ItemContainerGenerator.cs
- ArrayMergeHelper.cs
- ExpressionDumper.cs
- PolyBezierSegment.cs
- ByteStream.cs
- AutoResizedEvent.cs
- XhtmlBasicTextBoxAdapter.cs
- CLSCompliantAttribute.cs
- CodeValidator.cs
- HyperLinkField.cs
- CompilerHelpers.cs
- WorkflowLayouts.cs
- FormsAuthenticationCredentials.cs
- ConfigurationStrings.cs
- XmlAttributeCollection.cs
- basevalidator.cs
- ItemsPanelTemplate.cs
- AsyncCodeActivityContext.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- NativeCompoundFileAPIs.cs
- Timeline.cs
- CSharpCodeProvider.cs
- ProxyHwnd.cs
- Color.cs
- EditorPartDesigner.cs
- ComIntegrationManifestGenerator.cs
- CallContext.cs
- DesignerHierarchicalDataSourceView.cs
- ChangeProcessor.cs
- OverflowException.cs
- DataGridPagerStyle.cs
- DrawingServices.cs
- HttpCachePolicyWrapper.cs
- OdbcReferenceCollection.cs
- ColorPalette.cs
- HtmlControl.cs
- HtmlEmptyTagControlBuilder.cs
- DataTemplateKey.cs
- XmlWriterSettings.cs
- Configuration.cs
- WinEventTracker.cs
- TrackingWorkflowEventArgs.cs
- SwitchElementsCollection.cs
- InfiniteIntConverter.cs
- PermissionToken.cs
- ProviderCommandInfoUtils.cs
- DesignerSerializationManager.cs
- CodeDirectoryCompiler.cs
- MethodBuilder.cs
- ColorConvertedBitmap.cs
- XPathBinder.cs
- Label.cs
- PersonalizationStateQuery.cs
- MobileUITypeEditor.cs
- ViewStateModeByIdAttribute.cs
- PropertyDescriptorGridEntry.cs
- WindowsIdentity.cs
- DataGridViewColumnEventArgs.cs
- Pkcs9Attribute.cs
- ShaperBuffers.cs
- ExtentKey.cs
- Propagator.JoinPropagator.cs
- VectorValueSerializer.cs
- MatrixKeyFrameCollection.cs
- MailAddress.cs
- Collection.cs
- Visual3DCollection.cs
- TiffBitmapDecoder.cs
- Point3DCollection.cs
- AuthorizationRule.cs
- CustomErrorsSection.cs
- DataGridCaption.cs
- SessionEndingEventArgs.cs
- CompositeActivityCodeGenerator.cs
- GetMemberBinder.cs
- Quaternion.cs
- StaticDataManager.cs
- SqlIdentifier.cs
- GridViewRowEventArgs.cs
- Mapping.cs
- XmlSchemaDatatype.cs
- TypedDataSourceCodeGenerator.cs
- Label.cs
- PersonalizationEntry.cs
- ReadOnlyCollectionBuilder.cs
- GCHandleCookieTable.cs
- CompositeDispatchFormatter.cs
- MutableAssemblyCacheEntry.cs