Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Helper.cs
- SchemaManager.cs
- CompositeScriptReference.cs
- PrintingPermission.cs
- WindowsFormsLinkLabel.cs
- AttachedPropertiesService.cs
- LayoutInformation.cs
- PersonalizationStateInfoCollection.cs
- BitmapCodecInfoInternal.cs
- ButtonField.cs
- ColorTransformHelper.cs
- AddressingVersion.cs
- DispatcherHookEventArgs.cs
- BaseResourcesBuildProvider.cs
- SHA384.cs
- CodeAttributeArgumentCollection.cs
- CustomAttribute.cs
- WebBrowser.cs
- FontWeightConverter.cs
- InterleavedZipPartStream.cs
- TextDecorationLocationValidation.cs
- HtmlEmptyTagControlBuilder.cs
- URLMembershipCondition.cs
- SpoolingTaskBase.cs
- FontCollection.cs
- dataprotectionpermissionattribute.cs
- InternalResources.cs
- ResetableIterator.cs
- MonthChangedEventArgs.cs
- RuntimeArgument.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- TextPenaltyModule.cs
- SelectionEditingBehavior.cs
- DrawingServices.cs
- FontCollection.cs
- ByeMessage11.cs
- UnsafeNativeMethods.cs
- Table.cs
- SuppressIldasmAttribute.cs
- RadialGradientBrush.cs
- NavigationPropertyAccessor.cs
- XmlBinaryReader.cs
- FormViewPagerRow.cs
- AccessorTable.cs
- SafeCryptoHandles.cs
- ProfileEventArgs.cs
- InstanceCreationEditor.cs
- ComplexBindingPropertiesAttribute.cs
- TextElement.cs
- PerformanceCounterPermission.cs
- Compiler.cs
- GradientStop.cs
- FileUpload.cs
- ProfileSettings.cs
- IncrementalReadDecoders.cs
- TextEditorTyping.cs
- HttpResponse.cs
- XmlReflectionImporter.cs
- StorageConditionPropertyMapping.cs
- XmlSerializerNamespaces.cs
- JournalEntryStack.cs
- ExpressionConverter.cs
- RealizationContext.cs
- ColumnWidthChangingEvent.cs
- SessionState.cs
- EnumType.cs
- CommandBindingCollection.cs
- WindowsListView.cs
- ReachPageContentSerializer.cs
- ToolStripContentPanel.cs
- SizeKeyFrameCollection.cs
- SharedConnectionWorkflowTransactionService.cs
- RelatedEnd.cs
- ConnectionInterfaceCollection.cs
- BoundPropertyEntry.cs
- GridViewColumnHeader.cs
- ApplicationTrust.cs
- GreenMethods.cs
- XPathPatternBuilder.cs
- RecommendedAsConfigurableAttribute.cs
- DocumentPageHost.cs
- RenameRuleObjectDialog.cs
- XmlProcessingInstruction.cs
- StylusPointPropertyInfo.cs
- ResourceIDHelper.cs
- CommandBindingCollection.cs
- BitmapEffectInputData.cs
- BitmapScalingModeValidation.cs
- ObjectItemNoOpAssemblyLoader.cs
- DbConnectionPoolGroupProviderInfo.cs
- Vector3DAnimation.cs
- DesignerActionVerbList.cs
- ConnectionStringsSection.cs
- SingleKeyFrameCollection.cs
- JapaneseCalendar.cs
- FrameSecurityDescriptor.cs
- CharacterMetricsDictionary.cs
- BaseTreeIterator.cs
- QilName.cs
- SqlGenerator.cs