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
- ClientProxyGenerator.cs
- AsyncCompletedEventArgs.cs
- HttpApplicationStateWrapper.cs
- Group.cs
- Latin1Encoding.cs
- FilterableAttribute.cs
- CanonicalFormWriter.cs
- CounterSet.cs
- UpdateEventArgs.cs
- CustomErrorsSection.cs
- ConnectionPoint.cs
- DataGridViewRow.cs
- Opcode.cs
- FilterableAttribute.cs
- HiddenFieldPageStatePersister.cs
- ListViewItem.cs
- cookieexception.cs
- DecoderReplacementFallback.cs
- Facet.cs
- DataBinder.cs
- TableSectionStyle.cs
- UriSectionReader.cs
- WebContext.cs
- CookielessHelper.cs
- NotificationContext.cs
- MatrixAnimationUsingPath.cs
- ContentOperations.cs
- ActivityExecutionContextCollection.cs
- ButtonField.cs
- DbInsertCommandTree.cs
- GeometryDrawing.cs
- XmlAggregates.cs
- WebPartDisplayModeEventArgs.cs
- MetadataItemCollectionFactory.cs
- SHA384.cs
- BaseComponentEditor.cs
- RouteTable.cs
- CodeRemoveEventStatement.cs
- OptimizedTemplateContentHelper.cs
- Screen.cs
- WriteableBitmap.cs
- StorageComplexPropertyMapping.cs
- Vector3DAnimation.cs
- Visual3D.cs
- IsolatedStoragePermission.cs
- UndirectedGraph.cs
- TextTreeText.cs
- FixedSOMPage.cs
- MULTI_QI.cs
- ScriptModule.cs
- ContextMenuStripGroupCollection.cs
- HtmlInputRadioButton.cs
- InternalsVisibleToAttribute.cs
- PageRanges.cs
- sitestring.cs
- BitmapEffectInputData.cs
- ActiveDocumentEvent.cs
- CodeSubDirectoriesCollection.cs
- WebSysDescriptionAttribute.cs
- FormsAuthenticationCredentials.cs
- TreeNode.cs
- Control.cs
- ExpressionList.cs
- formatter.cs
- ControlBuilder.cs
- PriorityChain.cs
- InputLanguageCollection.cs
- SetStoryboardSpeedRatio.cs
- FacetDescriptionElement.cs
- ThaiBuddhistCalendar.cs
- SessionParameter.cs
- FormViewPageEventArgs.cs
- ByteStreamMessageUtility.cs
- ControlDesignerState.cs
- ColorConvertedBitmap.cs
- ListItemCollection.cs
- ImageMap.cs
- DeflateStream.cs
- SqlCommandBuilder.cs
- WebPageTraceListener.cs
- AttributeQuery.cs
- ButtonFieldBase.cs
- ToolStripLocationCancelEventArgs.cs
- TreeNodeCollection.cs
- NameValuePermission.cs
- WindowsFormsHelpers.cs
- ConvertTextFrag.cs
- Axis.cs
- SolidBrush.cs
- odbcmetadatafactory.cs
- ContractMapping.cs
- Repeater.cs
- RegexTree.cs
- BinaryFormatter.cs
- ConsoleKeyInfo.cs
- NavigationWindowAutomationPeer.cs
- ProofTokenCryptoHandle.cs
- ColorTransformHelper.cs
- SessionMode.cs
- DifferencingCollection.cs