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
- PreservationFileWriter.cs
- OleDbRowUpdatedEvent.cs
- ImageField.cs
- BasicHttpMessageCredentialType.cs
- DocumentCollection.cs
- StructuredType.cs
- File.cs
- QuaternionAnimation.cs
- ConditionBrowserDialog.cs
- ProgramNode.cs
- ParseHttpDate.cs
- X509CertificateChain.cs
- Line.cs
- XmlSchemaGroupRef.cs
- StringDictionaryCodeDomSerializer.cs
- NestedContainer.cs
- ValidationErrorEventArgs.cs
- SendingRequestEventArgs.cs
- ImmutableClientRuntime.cs
- PageRequestManager.cs
- NamedObject.cs
- SqlUDTStorage.cs
- DataBoundControl.cs
- ConsumerConnectionPoint.cs
- iisPickupDirectory.cs
- SingleResultAttribute.cs
- PermissionSetTriple.cs
- PropertyEmitter.cs
- ExpressionNode.cs
- MetabaseServerConfig.cs
- CodeMemberEvent.cs
- RadioButtonAutomationPeer.cs
- FormViewInsertedEventArgs.cs
- ExceptionHandlers.cs
- DataSetUtil.cs
- DictionaryEntry.cs
- ObjectListSelectEventArgs.cs
- ListBindableAttribute.cs
- FileLevelControlBuilderAttribute.cs
- XslNumber.cs
- EventLog.cs
- AudioSignalProblemOccurredEventArgs.cs
- SoundPlayer.cs
- WindowsTab.cs
- ToolStripGrip.cs
- CompoundFileReference.cs
- Unit.cs
- GeometryHitTestParameters.cs
- LookupBindingPropertiesAttribute.cs
- HttpContext.cs
- WarningException.cs
- SQLInt32Storage.cs
- CustomGrammar.cs
- BadImageFormatException.cs
- SAPIEngineTypes.cs
- SpnEndpointIdentity.cs
- FileDialogPermission.cs
- PersonalizationProvider.cs
- AsnEncodedData.cs
- PrintDialogDesigner.cs
- SignatureHelper.cs
- ItemPager.cs
- SourceExpressionException.cs
- DetailsViewActionList.cs
- TextComposition.cs
- FolderBrowserDialog.cs
- ComplusEndpointConfigContainer.cs
- HttpHeaderCollection.cs
- ByteRangeDownloader.cs
- ErrorInfoXmlDocument.cs
- Geometry.cs
- UIElement3D.cs
- DataObject.cs
- SamlAuthorizationDecisionStatement.cs
- BamlRecordWriter.cs
- Pen.cs
- AutomationProperties.cs
- EdmValidator.cs
- TextEffectResolver.cs
- ColumnResizeUndoUnit.cs
- DesignDataSource.cs
- ProtocolInformationWriter.cs
- GacUtil.cs
- ToolStripStatusLabel.cs
- HttpApplicationFactory.cs
- StateBag.cs
- ResourcesBuildProvider.cs
- Page.cs
- _NegoStream.cs
- CLRBindingWorker.cs
- PenThreadPool.cs
- MultiAsyncResult.cs
- TdsParserSessionPool.cs
- RowSpanVector.cs
- SmtpCommands.cs
- InlineUIContainer.cs
- TextBoxBase.cs
- ScriptControlManager.cs
- InArgument.cs
- ControlPropertyNameConverter.cs