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
- SpinWait.cs
- OleStrCAMarshaler.cs
- Crc32.cs
- SizeConverter.cs
- ExeConfigurationFileMap.cs
- OrderByBuilder.cs
- RetrieveVirtualItemEventArgs.cs
- HyperLinkColumn.cs
- HtmlTableRowCollection.cs
- XmlSerializerSection.cs
- NamedElement.cs
- WebDisplayNameAttribute.cs
- ExtendedProperty.cs
- OleDbTransaction.cs
- QueryReaderSettings.cs
- XmlSchemaAttribute.cs
- DbConnectionFactory.cs
- NativeMethods.cs
- ComponentResourceManager.cs
- BulletedListDesigner.cs
- DemultiplexingDispatchMessageFormatter.cs
- COM2Properties.cs
- FontStretch.cs
- FixedSOMTextRun.cs
- WebPartAuthorizationEventArgs.cs
- SetIterators.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- PathGradientBrush.cs
- XPathNode.cs
- InkCanvas.cs
- WhitespaceRule.cs
- DocumentSequence.cs
- AttributeExtensions.cs
- QilTernary.cs
- DrawListViewItemEventArgs.cs
- IsolatedStorageFilePermission.cs
- ReadWriteSpinLock.cs
- DesignerAttribute.cs
- ObservableCollection.cs
- HttpAsyncResult.cs
- DateTimeConstantAttribute.cs
- ControlBuilder.cs
- FramingFormat.cs
- DataGridViewTextBoxColumn.cs
- Model3DGroup.cs
- Paragraph.cs
- IDQuery.cs
- DataContractJsonSerializerOperationBehavior.cs
- InstanceKey.cs
- NavigationHelper.cs
- ImageDrawing.cs
- LeafCellTreeNode.cs
- WaitHandleCannotBeOpenedException.cs
- MetadataItemSerializer.cs
- StrokeCollectionDefaultValueFactory.cs
- ReflectionUtil.cs
- dbenumerator.cs
- FileDialogCustomPlacesCollection.cs
- BuildProvider.cs
- ObjectViewQueryResultData.cs
- FirstMatchCodeGroup.cs
- ImageSourceValueSerializer.cs
- CreateWorkflowOwnerCommand.cs
- ProvidersHelper.cs
- DataSourceSelectArguments.cs
- PropertyGridEditorPart.cs
- FunctionQuery.cs
- HebrewCalendar.cs
- FilterEventArgs.cs
- XmlProcessingInstruction.cs
- MappingSource.cs
- UsernameTokenFactoryCredential.cs
- MetadataCollection.cs
- XmlEncApr2001.cs
- LineGeometry.cs
- WebServiceErrorEvent.cs
- DataViewManager.cs
- Polyline.cs
- HttpHostedTransportConfiguration.cs
- NativeRecognizer.cs
- XmlSyndicationContent.cs
- CompoundFileStreamReference.cs
- StateElementCollection.cs
- pingexception.cs
- Track.cs
- ScaleTransform.cs
- WaitHandleCannotBeOpenedException.cs
- DbParameterCollectionHelper.cs
- DataObjectSettingDataEventArgs.cs
- Compiler.cs
- MatrixConverter.cs
- ColorIndependentAnimationStorage.cs
- CommandHelper.cs
- LassoHelper.cs
- DataGridViewRowsAddedEventArgs.cs
- DataRelationPropertyDescriptor.cs
- XmlKeywords.cs
- RIPEMD160Managed.cs
- ReflectionUtil.cs
- AttachmentCollection.cs