Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1 / CodeMemberField.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; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeMemberField : CodeTypeMember { private CodeTypeReference type; private CodeExpression initExpression; ////// Represents a class field member. /// ////// public CodeMemberField() { } ////// Initializes a new ///. /// /// public CodeMemberField(CodeTypeReference type, string name) { Type = type; Name = name; } ////// Initializes a new ///with the specified member field type and /// name. /// /// public CodeMemberField(string type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeMemberField(Type type, string name) { Type = new CodeTypeReference(type); Name = name; } ///[To be supplied.] ////// public CodeTypeReference Type { get { if (type == null) { type = new CodeTypeReference(""); } return type; } set { type = value; } } ////// Gets or sets the member field type. /// ////// public CodeExpression InitExpression { get { return initExpression; } set { initExpression = value; } } } }/// Gets or sets the initialization expression for the member field. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MonthChangedEventArgs.cs
- WinInetCache.cs
- ConfigErrorGlyph.cs
- DateTimeOffsetStorage.cs
- OptimizerPatterns.cs
- AuthorizationRuleCollection.cs
- StringBlob.cs
- XAMLParseException.cs
- fixedPageContentExtractor.cs
- DataBoundLiteralControl.cs
- Window.cs
- ProgressiveCrcCalculatingStream.cs
- RangeValidator.cs
- TabletDeviceInfo.cs
- RuleProcessor.cs
- EmbeddedObject.cs
- ConfigXmlReader.cs
- ScriptHandlerFactory.cs
- PropertyNames.cs
- COM2FontConverter.cs
- XmlObjectSerializerReadContextComplexJson.cs
- CustomLineCap.cs
- DataSourceXmlSerializationAttribute.cs
- WeakReference.cs
- XPathLexer.cs
- PersonalizableAttribute.cs
- StorageComplexPropertyMapping.cs
- MouseWheelEventArgs.cs
- RangeExpression.cs
- MetadataArtifactLoaderResource.cs
- TriggerCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- Timer.cs
- TextRangeEditTables.cs
- ItemDragEvent.cs
- GroupItemAutomationPeer.cs
- NonClientArea.cs
- SecurityCapabilities.cs
- LineGeometry.cs
- DashStyle.cs
- XmlSchemas.cs
- Int32CAMarshaler.cs
- SpoolingTask.cs
- RepeatBehavior.cs
- RoamingStoreFileUtility.cs
- PermissionSetTriple.cs
- TraceSource.cs
- ExpressionParser.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Set.cs
- MessagePropertyDescriptionCollection.cs
- ColumnMapVisitor.cs
- StylusLogic.cs
- ThreadExceptionEvent.cs
- MenuItemStyleCollection.cs
- ProfileService.cs
- CompositeCollection.cs
- GeneralTransform3DGroup.cs
- ExpandCollapsePattern.cs
- TextLine.cs
- WindowsFormsHost.cs
- DesignerVerb.cs
- QueryOutputWriter.cs
- DataColumnChangeEvent.cs
- DataGridViewElement.cs
- SqlMetaData.cs
- HtmlForm.cs
- CodeDomConfigurationHandler.cs
- XmlSubtreeReader.cs
- EntryWrittenEventArgs.cs
- XmlSchemaNotation.cs
- RuntimeResourceSet.cs
- safemediahandle.cs
- BrowserCapabilitiesFactoryBase.cs
- securitycriticaldataformultiplegetandset.cs
- UrlMappingsSection.cs
- FormsIdentity.cs
- ManifestBasedResourceGroveler.cs
- StringToken.cs
- ConstructorExpr.cs
- RowToParametersTransformer.cs
- Mapping.cs
- PointAnimation.cs
- SecurityManager.cs
- ItemsPresenter.cs
- StringUtil.cs
- HostAdapter.cs
- SafeLibraryHandle.cs
- NonParentingControl.cs
- RowBinding.cs
- DataGridCellInfo.cs
- EventDescriptor.cs
- DataRowView.cs
- RuntimeEnvironment.cs
- TextViewBase.cs
- DiagnosticTrace.cs
- AuthorizationRuleCollection.cs
- FixedDocument.cs
- NonSerializedAttribute.cs
- Helper.cs