Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- GeneralTransform.cs
- SafeThemeHandle.cs
- AccessDataSourceView.cs
- Funcletizer.cs
- Operators.cs
- ExceptionUtil.cs
- TrustManagerPromptUI.cs
- TextDecorationCollection.cs
- FlowThrottle.cs
- AutoGeneratedFieldProperties.cs
- LinearKeyFrames.cs
- ServiceRouteHandler.cs
- InkSerializer.cs
- ExtensibleClassFactory.cs
- DynamicQueryStringParameter.cs
- AuditLog.cs
- DeflateInput.cs
- ExceptionUtil.cs
- ListControlStringCollectionEditor.cs
- MergablePropertyAttribute.cs
- QilIterator.cs
- PaintValueEventArgs.cs
- Panel.cs
- AppDomainCompilerProxy.cs
- Pointer.cs
- ListBoxItemWrapperAutomationPeer.cs
- HierarchicalDataBoundControl.cs
- ChildDocumentBlock.cs
- TemplatedWizardStep.cs
- SoapFormatter.cs
- XamlContextStack.cs
- SqlNode.cs
- TableItemPattern.cs
- DataListItemCollection.cs
- LinqDataSourceSelectEventArgs.cs
- TabControlCancelEvent.cs
- ComponentGlyph.cs
- URLString.cs
- SmiEventSink_DeferedProcessing.cs
- ManagedWndProcTracker.cs
- DataListItemCollection.cs
- HttpResponseBase.cs
- Border.cs
- ProcessManager.cs
- MultiView.cs
- TriggerAction.cs
- UnsafeNativeMethods.cs
- DataSourceControlBuilder.cs
- TriggerActionCollection.cs
- ISessionStateStore.cs
- ServerValidateEventArgs.cs
- RowTypePropertyElement.cs
- _ConnectionGroup.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- InstanceLockLostException.cs
- StorageEntitySetMapping.cs
- ResourceReader.cs
- BoundField.cs
- MailFileEditor.cs
- RawStylusSystemGestureInputReport.cs
- oledbconnectionstring.cs
- NativeMethods.cs
- KeyFrames.cs
- CreateUserWizard.cs
- ValueUtilsSmi.cs
- IdleTimeoutMonitor.cs
- NetMsmqBinding.cs
- ExpressionVisitorHelpers.cs
- InfocardExtendedInformationEntry.cs
- SoundPlayer.cs
- DBSqlParserColumnCollection.cs
- DbConnectionPool.cs
- ToolTipAutomationPeer.cs
- ValidationError.cs
- StreamReader.cs
- RowsCopiedEventArgs.cs
- OrthographicCamera.cs
- OverlappedAsyncResult.cs
- Solver.cs
- TextElementEnumerator.cs
- CompiledRegexRunner.cs
- XD.cs
- XmlComplianceUtil.cs
- PolicyFactory.cs
- SubMenuStyleCollection.cs
- Constants.cs
- ExpandCollapseProviderWrapper.cs
- Metadata.cs
- CodeEventReferenceExpression.cs
- CellIdBoolean.cs
- ConvertTextFrag.cs
- DBAsyncResult.cs
- XmlReaderSettings.cs
- Calendar.cs
- ToolStripDropDownItemDesigner.cs
- SvcMapFileLoader.cs
- __ComObject.cs
- TypefaceMap.cs
- SecUtil.cs
- DockProviderWrapper.cs