Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1305376 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- ColorInterpolationModeValidation.cs
- ToolStripSeparator.cs
- EventLogWatcher.cs
- DBPropSet.cs
- Automation.cs
- Clause.cs
- AttachInfo.cs
- Trustee.cs
- WindowsFormsHelpers.cs
- XmlSchemaObjectTable.cs
- TextModifier.cs
- StringInfo.cs
- MetadataItemSerializer.cs
- RectAnimationUsingKeyFrames.cs
- UnmanagedMarshal.cs
- SafeCertificateContext.cs
- UIElement3D.cs
- WebPartVerbCollection.cs
- ByteAnimationBase.cs
- TextStore.cs
- ProxyGenerator.cs
- DebugView.cs
- BlobPersonalizationState.cs
- QuadraticBezierSegment.cs
- XmlNamespaceManager.cs
- SystemFonts.cs
- XmlSchemas.cs
- ReferenceEqualityComparer.cs
- TimersDescriptionAttribute.cs
- MediaTimeline.cs
- TextBoxLine.cs
- ServiceMemoryGates.cs
- ErasingStroke.cs
- MsmqAuthenticationMode.cs
- HatchBrush.cs
- XpsS0ValidatingLoader.cs
- Error.cs
- ChannelTracker.cs
- Boolean.cs
- XmlQueryRuntime.cs
- Pair.cs
- PageParser.cs
- ProcessHostFactoryHelper.cs
- EventLogTraceListener.cs
- Restrictions.cs
- DataServiceQuery.cs
- Transform3D.cs
- BitmapEffect.cs
- OneOfScalarConst.cs
- CryptoHelper.cs
- ListParagraph.cs
- CodeExpressionCollection.cs
- WindowsFormsLinkLabel.cs
- Parser.cs
- SqlConnectionFactory.cs
- FontStyles.cs
- SchemaNames.cs
- xmlglyphRunInfo.cs
- Deflater.cs
- WaveHeader.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- SHA1.cs
- TypeListConverter.cs
- WebPartDisplayMode.cs
- Control.cs
- FormattedTextSymbols.cs
- StreamInfo.cs
- querybuilder.cs
- ArcSegment.cs
- CodeTypeOfExpression.cs
- SqlInternalConnectionTds.cs
- WebPartManager.cs
- OdbcDataAdapter.cs
- LinqDataSourceEditData.cs
- DropShadowBitmapEffect.cs
- GraphicsContainer.cs
- TraceListeners.cs
- ObjectStateEntry.cs
- AssemblySettingAttributes.cs
- KnownIds.cs
- MessageQuerySet.cs
- BrushMappingModeValidation.cs
- MessageEncodingBindingElementImporter.cs
- _ChunkParse.cs
- XmlWrappingReader.cs
- TextRunCacheImp.cs
- PhonemeEventArgs.cs
- PointHitTestResult.cs
- XmlSchemaAttribute.cs
- TextServicesCompartmentContext.cs
- Comparer.cs
- MaskedTextBox.cs
- MetabaseReader.cs
- TableLayoutPanel.cs
- PointAnimationClockResource.cs
- ConfigurationLocationCollection.cs
- SamlAudienceRestrictionCondition.cs
- ImportCatalogPart.cs
- MatrixKeyFrameCollection.cs
- TagMapInfo.cs