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
- MaskedTextBox.cs
- StorageMappingItemLoader.cs
- AmbientLight.cs
- AdjustableArrowCap.cs
- securitycriticaldata.cs
- RtfToXamlLexer.cs
- Dispatcher.cs
- TypeName.cs
- CfgSemanticTag.cs
- _emptywebproxy.cs
- FileLevelControlBuilderAttribute.cs
- SHA1Managed.cs
- UnaryExpression.cs
- ViewManager.cs
- DecimalStorage.cs
- ToolStripTextBox.cs
- DeferredReference.cs
- MenuItemBinding.cs
- XmlSerializerFaultFormatter.cs
- JoinSymbol.cs
- PolyQuadraticBezierSegment.cs
- InstanceCreationEditor.cs
- SqlFormatter.cs
- CodeDOMUtility.cs
- BindingsCollection.cs
- ListSortDescriptionCollection.cs
- AnimationStorage.cs
- RandomNumberGenerator.cs
- OptionUsage.cs
- FormViewInsertEventArgs.cs
- AttachmentCollection.cs
- ProcessInfo.cs
- ArgumentsParser.cs
- TagPrefixAttribute.cs
- ListBoxAutomationPeer.cs
- TableCell.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- UnmanagedBitmapWrapper.cs
- Convert.cs
- TextTreeTextBlock.cs
- UrlMappingCollection.cs
- ImportContext.cs
- WebEncodingValidatorAttribute.cs
- ClientSettingsSection.cs
- ExternalException.cs
- OneOfElement.cs
- TextEditorCopyPaste.cs
- _ChunkParse.cs
- PageThemeBuildProvider.cs
- BindingsCollection.cs
- Vector3DAnimation.cs
- BoolLiteral.cs
- util.cs
- CustomAssemblyResolver.cs
- SplayTreeNode.cs
- ServiceModelActivity.cs
- DefaultTextStore.cs
- TemplateInstanceAttribute.cs
- PowerModeChangedEventArgs.cs
- PkcsUtils.cs
- RemotingAttributes.cs
- SqlInternalConnectionSmi.cs
- GlyphCache.cs
- DataServiceExpressionVisitor.cs
- DbProviderManifest.cs
- DesignConnectionCollection.cs
- _SpnDictionary.cs
- RuntimeVariablesExpression.cs
- RegexFCD.cs
- MsmqIntegrationChannelListener.cs
- RoutedUICommand.cs
- DoubleAnimationUsingPath.cs
- ClientScriptManager.cs
- IndependentAnimationStorage.cs
- isolationinterop.cs
- CodeTypeMember.cs
- Image.cs
- PropertyValueChangedEvent.cs
- ContextStaticAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- HMAC.cs
- BinaryFormatterWriter.cs
- TimeSpanStorage.cs
- XmlReaderSettings.cs
- PagerSettings.cs
- ProxyWebPartManager.cs
- COMException.cs
- DebugView.cs
- SimpleBitVector32.cs
- WeakEventManager.cs
- ClaimSet.cs
- Boolean.cs
- BooleanAnimationUsingKeyFrames.cs
- InProcStateClientManager.cs
- WebPartCloseVerb.cs
- SQlBooleanStorage.cs
- KeySpline.cs
- XmlQueryType.cs
- GenericRootAutomationPeer.cs
- CuspData.cs