Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SamlAttribute.cs
- BrushValueSerializer.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TraceContext.cs
- RangeValidator.cs
- OneWayElement.cs
- MessageFault.cs
- precedingsibling.cs
- AtomParser.cs
- InputScopeAttribute.cs
- SoapIncludeAttribute.cs
- DocumentOrderComparer.cs
- BaseValidator.cs
- ExtendedPropertyDescriptor.cs
- WebPartExportVerb.cs
- DataBindingExpressionBuilder.cs
- StringBuilder.cs
- ToolConsole.cs
- LinqDataView.cs
- _IPv4Address.cs
- AffineTransform3D.cs
- DataKey.cs
- ListViewCancelEventArgs.cs
- ValueUtilsSmi.cs
- XhtmlBasicValidatorAdapter.cs
- Condition.cs
- Debug.cs
- EntityCommandDefinition.cs
- StorageEntityContainerMapping.cs
- WebPartConnectionsCloseVerb.cs
- ISO2022Encoding.cs
- NavigationFailedEventArgs.cs
- EmptyEnumerator.cs
- TreeWalker.cs
- ValidationManager.cs
- CodeGen.cs
- StylusTip.cs
- SqlInternalConnectionSmi.cs
- EntityContainerEmitter.cs
- METAHEADER.cs
- PersonalizationStateInfo.cs
- SEHException.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DocumentXmlWriter.cs
- BitmapFrame.cs
- PlatformNotSupportedException.cs
- SolidBrush.cs
- CacheSection.cs
- ValidatorCompatibilityHelper.cs
- QuaternionAnimation.cs
- ProfileGroupSettings.cs
- WindowsFont.cs
- CounterSample.cs
- BrowserCapabilitiesFactoryBase.cs
- CodeActivity.cs
- ProxyElement.cs
- DataGridBoolColumn.cs
- ChannelBinding.cs
- ValidationHelpers.cs
- HitTestResult.cs
- UTF8Encoding.cs
- RelationshipType.cs
- NetStream.cs
- SafeHandles.cs
- Util.cs
- DbRetry.cs
- BeginSelectCardRequest.cs
- ToolStripLocationCancelEventArgs.cs
- EmptyEnumerator.cs
- DispatcherTimer.cs
- TrackingMemoryStreamFactory.cs
- ResXBuildProvider.cs
- Logging.cs
- TimeZoneInfo.cs
- HuffmanTree.cs
- DictionaryTraceRecord.cs
- ControlParameter.cs
- KeyTimeConverter.cs
- HtmlTableRow.cs
- Imaging.cs
- ActivityBindForm.Designer.cs
- TreeView.cs
- Boolean.cs
- VisualStyleInformation.cs
- StringHandle.cs
- Variable.cs
- _SingleItemRequestCache.cs
- HostingPreferredMapPath.cs
- Touch.cs
- PeerNameRecordCollection.cs
- ToolStripPanelRenderEventArgs.cs
- Propagator.JoinPropagator.cs
- CroppedBitmap.cs
- XdrBuilder.cs
- Identifier.cs
- CollectionView.cs
- ExceptionWrapper.cs
- RegexCharClass.cs
- CompilerParameters.cs
- ContainerAction.cs