Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WindowsTitleBar.cs
- ResourceLoader.cs
- SqlTriggerAttribute.cs
- SqlMultiplexer.cs
- RoutedEvent.cs
- SelectionEditingBehavior.cs
- CultureSpecificCharacterBufferRange.cs
- VisualTarget.cs
- XmlDocumentFragment.cs
- ResizeGrip.cs
- ToolStripItemBehavior.cs
- DesignerContextDescriptor.cs
- QueryableDataSource.cs
- DateRangeEvent.cs
- ContractReference.cs
- externdll.cs
- XamlSerializerUtil.cs
- AsyncResult.cs
- MultiTrigger.cs
- QueryPageSettingsEventArgs.cs
- FillRuleValidation.cs
- objectquery_tresulttype.cs
- AnimationClock.cs
- HMACSHA1.cs
- Transform3DGroup.cs
- RoamingStoreFileUtility.cs
- HitTestWithPointDrawingContextWalker.cs
- BlurBitmapEffect.cs
- DatePickerTextBox.cs
- Clipboard.cs
- BindingCompleteEventArgs.cs
- EdmProperty.cs
- ComponentRenameEvent.cs
- QuaternionRotation3D.cs
- RankException.cs
- PropertyAccessVisitor.cs
- _LoggingObject.cs
- PackagePart.cs
- EntityProviderFactory.cs
- FormParameter.cs
- entitydatasourceentitysetnameconverter.cs
- FileSystemEventArgs.cs
- RoutedUICommand.cs
- Literal.cs
- EraserBehavior.cs
- ContextMenuStrip.cs
- ScriptMethodAttribute.cs
- _ShellExpression.cs
- SQLGuid.cs
- XmlSchemaDatatype.cs
- SortDescriptionCollection.cs
- SettingsAttributeDictionary.cs
- PrintingPermission.cs
- BindToObject.cs
- DataGridTextBox.cs
- TextEditor.cs
- FragmentQueryKB.cs
- ListViewUpdateEventArgs.cs
- XmlUtf8RawTextWriter.cs
- DrawingCollection.cs
- Msec.cs
- ListView.cs
- FullTextBreakpoint.cs
- XmlCharType.cs
- SimpleLine.cs
- SolidColorBrush.cs
- DWriteFactory.cs
- ApplicationBuildProvider.cs
- SqlServices.cs
- PropertyConverter.cs
- BindingNavigator.cs
- LogExtentCollection.cs
- StringDictionary.cs
- CurrencyWrapper.cs
- TargetPerspective.cs
- DBCommand.cs
- TreeIterators.cs
- DbConvert.cs
- SqlDependencyListener.cs
- StandardMenuStripVerb.cs
- EmptyEnumerable.cs
- BindingValueChangedEventArgs.cs
- CodeFieldReferenceExpression.cs
- translator.cs
- ArcSegment.cs
- SHA256Managed.cs
- InputLangChangeRequestEvent.cs
- XmlSchemaAnyAttribute.cs
- transactioncontext.cs
- HttpChannelFactory.cs
- IDataContractSurrogate.cs
- DoubleLink.cs
- ListBoxItemAutomationPeer.cs
- DataGridViewCellStateChangedEventArgs.cs
- DataSourceProvider.cs
- BinaryObjectWriter.cs
- ColorConverter.cs
- ExecutedRoutedEventArgs.cs
- TabletDeviceInfo.cs
- GetImportFileNameRequest.cs