Code:
/ DotNET / DotNET / 8.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
- SimplePropertyEntry.cs
- MultiPageTextView.cs
- DataGridState.cs
- ContextStaticAttribute.cs
- _NestedMultipleAsyncResult.cs
- RuleAttributes.cs
- PixelFormat.cs
- XmlSchemaAnnotation.cs
- TableLayoutSettings.cs
- NetworkInformationException.cs
- JoinElimination.cs
- RenderingBiasValidation.cs
- ComponentCollection.cs
- WebPartMovingEventArgs.cs
- WindowsListViewGroupHelper.cs
- NetworkStream.cs
- OciLobLocator.cs
- NullableIntMinMaxAggregationOperator.cs
- ServiceOperationInvoker.cs
- DataGridViewDataConnection.cs
- SessionEndingEventArgs.cs
- Stack.cs
- Resources.Designer.cs
- Identity.cs
- SimpleMailWebEventProvider.cs
- KeyValuePair.cs
- EdmSchemaError.cs
- FocusWithinProperty.cs
- DragDeltaEventArgs.cs
- sqlser.cs
- SqlException.cs
- figurelength.cs
- ProviderSettings.cs
- securitycriticaldataClass.cs
- GradientStopCollection.cs
- FixedSOMTableRow.cs
- TemplateControlParser.cs
- HeaderElement.cs
- IsolatedStorageFile.cs
- EncoderParameter.cs
- EntityTransaction.cs
- OpenFileDialog.cs
- SiteMapNodeCollection.cs
- TextViewBase.cs
- XmlUtf8RawTextWriter.cs
- XsdBuildProvider.cs
- BreakSafeBase.cs
- ExtenderControl.cs
- OdbcStatementHandle.cs
- Wrapper.cs
- TimersDescriptionAttribute.cs
- ConstantSlot.cs
- IntegrationExceptionEventArgs.cs
- CqlParserHelpers.cs
- AttachmentCollection.cs
- HttpValueCollection.cs
- ItemCheckEvent.cs
- SecurityUtils.cs
- TextElementAutomationPeer.cs
- TypeLibConverter.cs
- Application.cs
- TextSegment.cs
- SortableBindingList.cs
- MissingMemberException.cs
- XNodeNavigator.cs
- TimeEnumHelper.cs
- ContainerUIElement3D.cs
- HttpStreamFormatter.cs
- Processor.cs
- DataContractSet.cs
- FormClosedEvent.cs
- ConsoleCancelEventArgs.cs
- ObjRef.cs
- GotoExpression.cs
- LexicalChunk.cs
- ChannelServices.cs
- TextElementCollection.cs
- WebPartZone.cs
- PathGeometry.cs
- DataControlLinkButton.cs
- ElementsClipboardData.cs
- LocatorPartList.cs
- EventToken.cs
- SqlDataReader.cs
- SingleObjectCollection.cs
- StackSpiller.Generated.cs
- fixedPageContentExtractor.cs
- UnsafeNativeMethods.cs
- DBDataPermissionAttribute.cs
- DocumentAutomationPeer.cs
- SystemDiagnosticsSection.cs
- ClusterRegistryConfigurationProvider.cs
- TableHeaderCell.cs
- HttpCachePolicy.cs
- IDataContractSurrogate.cs
- AnalyzedTree.cs
- AnnotationHighlightLayer.cs
- PagesSection.cs
- SafeLibraryHandle.cs
- Thickness.cs