Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the initialization expression for the member field. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- ModulesEntry.cs
- TreeNode.cs
- MappingModelBuildProvider.cs
- LogEntrySerializer.cs
- ComboBox.cs
- SessionSwitchEventArgs.cs
- NativeActivityMetadata.cs
- LocalizationComments.cs
- XmlChildNodes.cs
- AssemblyName.cs
- IteratorFilter.cs
- mediaeventargs.cs
- MethodCallConverter.cs
- ButtonBaseAdapter.cs
- Stopwatch.cs
- DrawingState.cs
- GridViewRowEventArgs.cs
- SmtpDigestAuthenticationModule.cs
- FixUp.cs
- TableLayoutStyleCollection.cs
- XmlNodeList.cs
- WebServiceData.cs
- MetadataWorkspace.cs
- SmtpReplyReaderFactory.cs
- StartFileNameEditor.cs
- Roles.cs
- WinFormsUtils.cs
- ContractReference.cs
- XmlSerializerFactory.cs
- XmlSchemaSimpleTypeRestriction.cs
- ObjRef.cs
- ScrollProperties.cs
- FrameworkElementAutomationPeer.cs
- SqlAliasesReferenced.cs
- ClassicBorderDecorator.cs
- FaultContext.cs
- SiteMapProvider.cs
- BindingManagerDataErrorEventArgs.cs
- WebBrowser.cs
- TableLayoutSettings.cs
- ContainerVisual.cs
- XsltFunctions.cs
- AutomationPeer.cs
- TransformerInfoCollection.cs
- MachineKeyConverter.cs
- TreeBuilder.cs
- StrokeCollectionConverter.cs
- DbProviderFactory.cs
- XmlSchemaInfo.cs
- EntityProviderServices.cs
- Vector3DIndependentAnimationStorage.cs
- TemplateContainer.cs
- ProcessThreadCollection.cs
- WinHttpWebProxyFinder.cs
- PageSetupDialog.cs
- MailBnfHelper.cs
- TextDecorationCollectionConverter.cs
- IsolatedStorageFileStream.cs
- ObjectDataSourceStatusEventArgs.cs
- SystemDropShadowChrome.cs
- RuntimeIdentifierPropertyAttribute.cs
- WriteableBitmap.cs
- Graph.cs
- SubordinateTransaction.cs
- Content.cs
- UnauthorizedAccessException.cs
- KeyGesture.cs
- XmlBinaryReader.cs
- SafeHandle.cs
- CqlLexer.cs
- ECDiffieHellmanPublicKey.cs
- PenThreadPool.cs
- BasicExpandProvider.cs
- securitycriticaldataClass.cs
- loginstatus.cs
- ConnectionsZone.cs
- UIElementParagraph.cs
- DispatcherBuilder.cs
- SelectionItemPatternIdentifiers.cs
- PropertyOrder.cs
- UndirectedGraph.cs
- DependencyProperty.cs
- Span.cs
- DesignerForm.cs
- DocumentPropertiesDialog.cs
- RemoteWebConfigurationHostStream.cs
- CodeMemberMethod.cs
- MemberRelationshipService.cs
- Preprocessor.cs
- ECDiffieHellmanCngPublicKey.cs
- AssemblyBuilderData.cs
- ImageKeyConverter.cs
- AutomationPropertyInfo.cs
- AsynchronousChannel.cs
- StringValidator.cs
- ServerValidateEventArgs.cs
- ConfigPathUtility.cs
- VectorAnimation.cs
- NativeRightsManagementAPIsStructures.cs
- FileRecordSequenceHelper.cs