Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlSchemaImport.cs
- MailSettingsSection.cs
- ConfigXmlSignificantWhitespace.cs
- CodeTypeMemberCollection.cs
- BufferedStream.cs
- Int16Converter.cs
- DataRecordInternal.cs
- SingleStorage.cs
- DataStreamFromComStream.cs
- DoubleIndependentAnimationStorage.cs
- ManifestSignatureInformation.cs
- BamlResourceSerializer.cs
- HtmlHistory.cs
- MediaContextNotificationWindow.cs
- IPipelineRuntime.cs
- Point.cs
- Translator.cs
- Message.cs
- DataGridViewComboBoxCell.cs
- ElementProxy.cs
- ServiceDescriptionImporter.cs
- ToolStripItemTextRenderEventArgs.cs
- InputLanguageSource.cs
- ClientOptions.cs
- TrustManagerMoreInformation.cs
- FormsAuthentication.cs
- SqlCrossApplyToCrossJoin.cs
- Metadata.cs
- StrongName.cs
- MetabaseServerConfig.cs
- HtmlInputHidden.cs
- PolicyChain.cs
- EventHandlersStore.cs
- OneOfConst.cs
- DashStyle.cs
- TemplateControl.cs
- ExpressionEditor.cs
- ByteStorage.cs
- ErrorTableItemStyle.cs
- HtmlInputControl.cs
- PresentationSource.cs
- XmlElementAttribute.cs
- Int32AnimationUsingKeyFrames.cs
- EnumType.cs
- ResourceContainer.cs
- GetIndexBinder.cs
- DispatcherFrame.cs
- EdgeProfileValidation.cs
- TableLayoutSettings.cs
- BaseConfigurationRecord.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- PreservationFileWriter.cs
- LoggedException.cs
- StorageEntityTypeMapping.cs
- CollectionsUtil.cs
- tabpagecollectioneditor.cs
- AsyncOperation.cs
- FilterElement.cs
- TabPanel.cs
- SchemaObjectWriter.cs
- WebReferenceCollection.cs
- UnsafeNativeMethodsPenimc.cs
- Error.cs
- SecurityPermission.cs
- Vector3DAnimation.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- AssociativeAggregationOperator.cs
- PropertyTab.cs
- HtmlButton.cs
- GridViewDeletedEventArgs.cs
- SelectionGlyph.cs
- KoreanCalendar.cs
- SvcMapFileLoader.cs
- Int32AnimationBase.cs
- PolyLineSegmentFigureLogic.cs
- PaintEvent.cs
- XPathNodePointer.cs
- TimeSpanConverter.cs
- XmlSchemaExporter.cs
- ComponentCommands.cs
- Math.cs
- Figure.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- SiteMapProvider.cs
- ComponentSerializationService.cs
- ListCardsInFileRequest.cs
- SecurityToken.cs
- Compiler.cs
- WindowsGrip.cs
- AQNBuilder.cs
- AsyncStreamReader.cs
- DbBuffer.cs
- ProjectionRewriter.cs
- Site.cs
- RenderData.cs
- Events.cs
- DrawListViewColumnHeaderEventArgs.cs
- XPathExpr.cs
- SemanticBasicElement.cs
- Privilege.cs