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
- SqlVersion.cs
- EUCJPEncoding.cs
- EntityContainerEmitter.cs
- Storyboard.cs
- DataGridViewButtonCell.cs
- PenLineJoinValidation.cs
- TreeNodeBinding.cs
- ExpressionBinding.cs
- StateWorkerRequest.cs
- PointConverter.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DataGridTableCollection.cs
- JournalEntryListConverter.cs
- TextElementEnumerator.cs
- DataTablePropertyDescriptor.cs
- WindowsHyperlink.cs
- EnumUnknown.cs
- ContextProperty.cs
- NamespaceInfo.cs
- ParenthesizePropertyNameAttribute.cs
- InputProcessorProfilesLoader.cs
- MailAddress.cs
- Root.cs
- ReflectPropertyDescriptor.cs
- TextRunProperties.cs
- ProtectedConfiguration.cs
- SamlAuthorizationDecisionClaimResource.cs
- StylusDownEventArgs.cs
- DocumentOutline.cs
- WebPartRestoreVerb.cs
- MergablePropertyAttribute.cs
- DbgUtil.cs
- WindowsTreeView.cs
- HwndProxyElementProvider.cs
- ChannelCacheDefaults.cs
- SelectionBorderGlyph.cs
- QilSortKey.cs
- Executor.cs
- DataGridViewBand.cs
- InvalidPrinterException.cs
- DataControlField.cs
- SelectionWordBreaker.cs
- XmlSchemas.cs
- ResizeGrip.cs
- SemanticBasicElement.cs
- Page.cs
- ProfilePropertyNameValidator.cs
- SchemaManager.cs
- XsltSettings.cs
- StackOverflowException.cs
- RenderDataDrawingContext.cs
- SamlAdvice.cs
- NavigateEvent.cs
- ProviderIncompatibleException.cs
- XmlDataSource.cs
- SqlRowUpdatedEvent.cs
- GridViewAutoFormat.cs
- CallContext.cs
- EmptyQuery.cs
- SetStateDesigner.cs
- Accessors.cs
- AttachInfo.cs
- PKCS1MaskGenerationMethod.cs
- EntitySet.cs
- ChannelServices.cs
- HttpServerVarsCollection.cs
- CalendarDay.cs
- _AuthenticationState.cs
- ItemCheckedEvent.cs
- QuaternionRotation3D.cs
- TCEAdapterGenerator.cs
- SafeNativeMethods.cs
- CodeMemberMethod.cs
- CodeAttributeArgument.cs
- MessageBodyMemberAttribute.cs
- FrameworkElement.cs
- HtmlInputHidden.cs
- EventTrigger.cs
- LayoutManager.cs
- LineUtil.cs
- NamespaceImport.cs
- Image.cs
- ExceptionValidationRule.cs
- RepeatBehaviorConverter.cs
- FormatVersion.cs
- CodeCommentStatement.cs
- HttpPostedFile.cs
- ValidationVisibilityAttribute.cs
- BoolExpression.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- AuthorizationContext.cs
- PositiveTimeSpanValidator.cs
- ExpressionNode.cs
- FixedDSBuilder.cs
- ParameterBuilder.cs
- ProjectionPath.cs
- ListCommandEventArgs.cs
- HttpBufferlessInputStream.cs
- SemaphoreFullException.cs
- Vector.cs