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
- BrushValueSerializer.cs
- ValidationErrorInfo.cs
- DataSourceCollectionBase.cs
- SecurityContextSecurityToken.cs
- filewebrequest.cs
- SqlConnectionFactory.cs
- QfeChecker.cs
- CanonicalFontFamilyReference.cs
- Transactions.cs
- Action.cs
- ImpersonationContext.cs
- XmlWhitespace.cs
- UndirectedGraph.cs
- UnsafeNativeMethodsCLR.cs
- MessageLoggingElement.cs
- WindowsFormsHelpers.cs
- ObjRef.cs
- BindingNavigator.cs
- HandlerMappingMemo.cs
- DataObjectPastingEventArgs.cs
- IPHostEntry.cs
- ColorContextHelper.cs
- Point3DKeyFrameCollection.cs
- Constants.cs
- DelegatingMessage.cs
- AspCompat.cs
- XmlUtf8RawTextWriter.cs
- AuthenticationException.cs
- ActionMessageFilter.cs
- SurrogateSelector.cs
- RoamingStoreFile.cs
- ScriptReferenceEventArgs.cs
- TextReader.cs
- WebZone.cs
- XslAst.cs
- AppAction.cs
- JobPageOrder.cs
- DropDownButton.cs
- MultiBinding.cs
- TimeSpan.cs
- XmlSchemaType.cs
- HideDisabledControlAdapter.cs
- MethodSignatureGenerator.cs
- CallbackValidator.cs
- Triplet.cs
- ResourcesBuildProvider.cs
- DataGridViewRowHeaderCell.cs
- AdPostCacheSubstitution.cs
- TypeDependencyAttribute.cs
- AdjustableArrowCap.cs
- AuthenticationConfig.cs
- FormatException.cs
- WebPartConnectionsEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- AssemblyAttributes.cs
- PkcsMisc.cs
- Calendar.cs
- BindingListCollectionView.cs
- UtilityExtension.cs
- SudsWriter.cs
- SystemResources.cs
- PropertyTabChangedEvent.cs
- RecognizedPhrase.cs
- XmlEntityReference.cs
- IncrementalReadDecoders.cs
- BitConverter.cs
- DocumentViewerHelper.cs
- XmlNamedNodeMap.cs
- MetadataCache.cs
- RuleSettings.cs
- PhysicalAddress.cs
- TimeSpanStorage.cs
- SrgsToken.cs
- StrokeCollection.cs
- ButtonFieldBase.cs
- FrameworkContextData.cs
- SecurityElement.cs
- MaxValueConverter.cs
- SubclassTypeValidator.cs
- TextPattern.cs
- IndexedEnumerable.cs
- PropertyFilterAttribute.cs
- BamlCollectionHolder.cs
- MemoryRecordBuffer.cs
- IntranetCredentialPolicy.cs
- DependencyPropertyValueSerializer.cs
- ToolStripProgressBar.cs
- BinaryConverter.cs
- XmlMembersMapping.cs
- RegularExpressionValidator.cs
- DbConvert.cs
- SiteMapDataSourceView.cs
- GlobalProxySelection.cs
- SettingsContext.cs
- AtlasWeb.Designer.cs
- PrinterSettings.cs
- WebCodeGenerator.cs
- TrackBar.cs
- InputLanguageSource.cs
- TypefaceMap.cs