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
- PrivateUnsafeNativeCompoundFileMethods.cs
- ObjectSpanRewriter.cs
- SiteIdentityPermission.cs
- WebBrowserDocumentCompletedEventHandler.cs
- EntityDataSourceViewSchema.cs
- PrintEvent.cs
- Schema.cs
- ControlBindingsCollection.cs
- DataGridViewLinkCell.cs
- FlowDocumentScrollViewer.cs
- IUnknownConstantAttribute.cs
- HttpApplicationFactory.cs
- XmlValueConverter.cs
- RelationHandler.cs
- DataGridRow.cs
- QilTernary.cs
- FileDialog_Vista.cs
- OpenTypeLayout.cs
- LogSwitch.cs
- GC.cs
- UserControlCodeDomTreeGenerator.cs
- CodeConstructor.cs
- SyntaxCheck.cs
- DLinqTableProvider.cs
- Encoding.cs
- DesignerMetadata.cs
- SymmetricKeyWrap.cs
- UndirectedGraph.cs
- ValuePattern.cs
- RegexParser.cs
- COM2ComponentEditor.cs
- SafeNativeMethods.cs
- ElementsClipboardData.cs
- BamlLocalizableResourceKey.cs
- InputElement.cs
- remotingproxy.cs
- RelatedImageListAttribute.cs
- MessageQueueKey.cs
- DocumentsTrace.cs
- UnknownWrapper.cs
- SQLGuidStorage.cs
- AssertSection.cs
- SafeHandles.cs
- LookupNode.cs
- StreamHelper.cs
- MobileControlDesigner.cs
- DBSchemaTable.cs
- CheckBoxBaseAdapter.cs
- ListViewGroupItemCollection.cs
- SqlConnectionManager.cs
- NavigationProgressEventArgs.cs
- DocumentOrderQuery.cs
- ArrayConverter.cs
- TaiwanCalendar.cs
- HashRepartitionStream.cs
- URLIdentityPermission.cs
- DesignerTransactionCloseEvent.cs
- SplayTreeNode.cs
- ScaleTransform3D.cs
- SmtpAuthenticationManager.cs
- LinqDataSourceEditData.cs
- MD5HashHelper.cs
- StringTraceRecord.cs
- Function.cs
- XNameTypeConverter.cs
- DescendantOverDescendantQuery.cs
- AppDomainFactory.cs
- PathStreamGeometryContext.cs
- AssemblyEvidenceFactory.cs
- initElementDictionary.cs
- RelationshipDetailsRow.cs
- SpellerInterop.cs
- NonBatchDirectoryCompiler.cs
- Parallel.cs
- DefaultMergeHelper.cs
- CodeCommentStatementCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- EventlogProvider.cs
- DesignerCategoryAttribute.cs
- DataRelationPropertyDescriptor.cs
- PartitionedStream.cs
- FontStyle.cs
- ReaderWriterLock.cs
- HostExecutionContextManager.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- HtmlLink.cs
- MetadataCache.cs
- Bitmap.cs
- DockAndAnchorLayout.cs
- Int16Storage.cs
- WindowsRichEditRange.cs
- DmlSqlGenerator.cs
- XPathException.cs
- NaturalLanguageHyphenator.cs
- Point3DAnimation.cs
- Win32KeyboardDevice.cs
- ExpressionTextBoxAutomationPeer.cs
- DbConnectionPoolOptions.cs
- Delay.cs
- SystemUdpStatistics.cs