Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeMemberField.cs / 1305376 / CodeMemberField.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- XAMLParseException.cs
- ModelFactory.cs
- MimePart.cs
- ToolStripButton.cs
- DataControlFieldHeaderCell.cs
- PersonalizablePropertyEntry.cs
- InvalidAsynchronousStateException.cs
- DbProviderSpecificTypePropertyAttribute.cs
- AuthenticationManager.cs
- TimeIntervalCollection.cs
- PropertyValueUIItem.cs
- DataRowChangeEvent.cs
- LineProperties.cs
- FeatureAttribute.cs
- PagerSettings.cs
- DataStreams.cs
- TypeDelegator.cs
- SecurityException.cs
- AffineTransform3D.cs
- InstanceDataCollection.cs
- Matrix.cs
- ExecutionContext.cs
- RangeValuePattern.cs
- CodeDefaultValueExpression.cs
- MULTI_QI.cs
- MarkerProperties.cs
- TextShapeableCharacters.cs
- AsyncOperationManager.cs
- HtmlListAdapter.cs
- MessageQueuePermissionAttribute.cs
- XmlSchemaComplexContentRestriction.cs
- DefaultSection.cs
- XslCompiledTransform.cs
- DynamicMethod.cs
- HttpVersion.cs
- TimeoutValidationAttribute.cs
- PublisherIdentityPermission.cs
- InstanceStore.cs
- WindowsToolbarItemAsMenuItem.cs
- SoundPlayerAction.cs
- UserMapPath.cs
- DocumentPageHost.cs
- CommandDevice.cs
- DataStreamFromComStream.cs
- SectionUpdates.cs
- SchemaImporterExtension.cs
- SqlTypeConverter.cs
- CompModSwitches.cs
- ObjectPersistData.cs
- SmuggledIUnknown.cs
- DataSourceProvider.cs
- EndPoint.cs
- PrintPreviewControl.cs
- XmlNotation.cs
- SerializationSectionGroup.cs
- InvalidAsynchronousStateException.cs
- SqlParameterizer.cs
- QueryStringParameter.cs
- TraceSection.cs
- ChangePassword.cs
- ConditionalAttribute.cs
- shaperfactory.cs
- MaskPropertyEditor.cs
- SqlDataSourceCommandParser.cs
- SqlPersonalizationProvider.cs
- ClientUrlResolverWrapper.cs
- GeneralTransform2DTo3DTo2D.cs
- WmlTextBoxAdapter.cs
- _ProxyRegBlob.cs
- TextParagraphView.cs
- ProcessStartInfo.cs
- SerializationSectionGroup.cs
- TextTreeExtractElementUndoUnit.cs
- XmlUtilWriter.cs
- JoinSymbol.cs
- xmlglyphRunInfo.cs
- RegexCapture.cs
- XPathNodeHelper.cs
- BrushConverter.cs
- CoTaskMemHandle.cs
- EventsTab.cs
- BezierSegment.cs
- OdbcErrorCollection.cs
- Hex.cs
- SQLInt16Storage.cs
- NativeWindow.cs
- Bits.cs
- CardSpaceException.cs
- SqlDataAdapter.cs
- PointAnimationUsingPath.cs
- QilStrConcat.cs
- CombinedGeometry.cs
- BindMarkupExtensionSerializer.cs
- TemplateParser.cs
- TimerEventSubscriptionCollection.cs
- Memoizer.cs
- XamlStyleSerializer.cs
- DotAtomReader.cs
- ScaleTransform.cs
- Stream.cs