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
- BindingsCollection.cs
- DllNotFoundException.cs
- SqlAliasesReferenced.cs
- KoreanLunisolarCalendar.cs
- ScrollContentPresenter.cs
- Compiler.cs
- ReferentialConstraint.cs
- GeneralTransform3DTo2D.cs
- TypeNameConverter.cs
- UnmanagedMemoryAccessor.cs
- TypeToStringValueConverter.cs
- DataReceivedEventArgs.cs
- XamlStream.cs
- PixelShader.cs
- DataColumnChangeEvent.cs
- OleDbError.cs
- Int32Animation.cs
- SymbolType.cs
- UrlPath.cs
- XmlAttributeOverrides.cs
- UpDownBase.cs
- XmlSchemaComplexContent.cs
- TransformerInfo.cs
- Ref.cs
- TouchEventArgs.cs
- CfgParser.cs
- Mutex.cs
- WebHttpBindingCollectionElement.cs
- XhtmlConformanceSection.cs
- CacheMemory.cs
- DataTableReaderListener.cs
- IntSecurity.cs
- CompositionAdorner.cs
- InheritanceRules.cs
- XmlBoundElement.cs
- TextSelection.cs
- WindowsTokenRoleProvider.cs
- XmlQueryCardinality.cs
- Point4D.cs
- ElementHostAutomationPeer.cs
- WindowsAltTab.cs
- EventLogEntry.cs
- ADConnectionHelper.cs
- CommandID.cs
- CompareInfo.cs
- PerfService.cs
- DocumentPageHost.cs
- ContainerUIElement3D.cs
- TextBlock.cs
- UnsafeNativeMethods.cs
- PartialList.cs
- PageAsyncTaskManager.cs
- SoapEnvelopeProcessingElement.cs
- EncoderFallback.cs
- HttpFileCollectionWrapper.cs
- HttpBrowserCapabilitiesBase.cs
- WebPartMenuStyle.cs
- WebBodyFormatMessageProperty.cs
- DataSvcMapFile.cs
- XmlWhitespace.cs
- DPTypeDescriptorContext.cs
- WinFormsComponentEditor.cs
- XmlSchemaAppInfo.cs
- WorkflowDebuggerSteppingAttribute.cs
- BypassElementCollection.cs
- TiffBitmapEncoder.cs
- DictionaryContent.cs
- PersistencePipeline.cs
- XamlBuildProvider.cs
- CultureInfo.cs
- CompiledQuery.cs
- SpellCheck.cs
- Transform3D.cs
- DateTimeValueSerializer.cs
- Schema.cs
- DictionaryGlobals.cs
- DocumentApplicationJournalEntry.cs
- SqlFlattener.cs
- FactoryGenerator.cs
- SelectionChangedEventArgs.cs
- SQLConvert.cs
- Viewport3DAutomationPeer.cs
- CompositeDuplexBindingElement.cs
- MissingFieldException.cs
- DocumentViewerBaseAutomationPeer.cs
- SafeWaitHandle.cs
- WebPartRestoreVerb.cs
- Regex.cs
- HtmlInputRadioButton.cs
- DataRecordObjectView.cs
- CleanUpVirtualizedItemEventArgs.cs
- DesignerOptions.cs
- TypefaceMetricsCache.cs
- InfoCardSymmetricCrypto.cs
- x509utils.cs
- CompilerError.cs
- EntityStoreSchemaFilterEntry.cs
- messageonlyhwndwrapper.cs
- XmlDesigner.cs
- DataError.cs