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
- SafeSerializationManager.cs
- DataGridViewAutoSizeModeEventArgs.cs
- X500Name.cs
- PolyBezierSegment.cs
- XmlEncoding.cs
- RealizedColumnsBlock.cs
- SqlDataRecord.cs
- RightsManagementPermission.cs
- XmlNullResolver.cs
- SerializationSectionGroup.cs
- Geometry3D.cs
- VirtualizingPanel.cs
- PathTooLongException.cs
- ValidatorCollection.cs
- SAPICategories.cs
- TableLayoutPanelCellPosition.cs
- MonitorWrapper.cs
- XmlAttributeProperties.cs
- EastAsianLunisolarCalendar.cs
- ToolStripTemplateNode.cs
- XamlTypeMapper.cs
- ProgressBar.cs
- Oci.cs
- ScriptReferenceEventArgs.cs
- AdornerDecorator.cs
- MouseEvent.cs
- GridSplitter.cs
- ColumnClickEvent.cs
- LinqDataSourceDeleteEventArgs.cs
- ControlUtil.cs
- TcpHostedTransportConfiguration.cs
- SystemUdpStatistics.cs
- WebPartConnectVerb.cs
- PlatformCulture.cs
- FormsIdentity.cs
- RegexStringValidatorAttribute.cs
- SQLInt16.cs
- FilterElement.cs
- XpsFilter.cs
- XmlAnyAttributeAttribute.cs
- BinaryObjectInfo.cs
- EndpointInfo.cs
- FrameworkElementAutomationPeer.cs
- CompiledQueryCacheKey.cs
- FlowLayoutSettings.cs
- LinqDataSourceContextData.cs
- SortQuery.cs
- PackWebRequestFactory.cs
- NavigatorInvalidBodyAccessException.cs
- OutputCache.cs
- QueueProcessor.cs
- MessagingDescriptionAttribute.cs
- CodeAssignStatement.cs
- CryptoHandle.cs
- VersionPair.cs
- SoapAttributeAttribute.cs
- SqlProviderManifest.cs
- GlyphsSerializer.cs
- XPathEmptyIterator.cs
- FixedBufferAttribute.cs
- AuthenticationService.cs
- IndicShape.cs
- DataSourceControl.cs
- ScrollBarAutomationPeer.cs
- AccessibleObject.cs
- BrowserInteropHelper.cs
- FixedTextView.cs
- IntegrationExceptionEventArgs.cs
- OlePropertyStructs.cs
- SplineKeyFrames.cs
- ModelPropertyCollectionImpl.cs
- HttpListenerResponse.cs
- ListenerChannelContext.cs
- EntityDataSourceChangedEventArgs.cs
- SchemaNames.cs
- ClipboardProcessor.cs
- CompilerError.cs
- BaseCollection.cs
- EventData.cs
- StringAnimationUsingKeyFrames.cs
- login.cs
- TraceLevelStore.cs
- DBSchemaRow.cs
- DictationGrammar.cs
- AxHost.cs
- ModifierKeysConverter.cs
- TailPinnedEventArgs.cs
- OdbcRowUpdatingEvent.cs
- FixedSOMGroup.cs
- AppModelKnownContentFactory.cs
- EncryptedReference.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- AdapterUtil.cs
- MenuItemStyle.cs
- StoryFragments.cs
- TypeReference.cs
- TextRangeEditLists.cs
- Permission.cs
- PixelFormat.cs
- ByteAnimationUsingKeyFrames.cs