Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeAttribute.cs / 1 / XmlAttributeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public class XmlAttributeAttribute : System.Attribute { string attributeName; Type type; string ns; string dataType; XmlSchemaForm form = XmlSchemaForm.None; ///[To be supplied.] ////// /// public XmlAttributeAttribute() { } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName) { this.attributeName = attributeName; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName, Type type) { this.attributeName = attributeName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[To be supplied.] ////// /// public string AttributeName { get { return attributeName == null ? string.Empty : attributeName; } set { attributeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public class XmlAttributeAttribute : System.Attribute { string attributeName; Type type; string ns; string dataType; XmlSchemaForm form = XmlSchemaForm.None; ///[To be supplied.] ////// /// public XmlAttributeAttribute() { } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName) { this.attributeName = attributeName; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName, Type type) { this.attributeName = attributeName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[To be supplied.] ////// /// public string AttributeName { get { return attributeName == null ? string.Empty : attributeName; } set { attributeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CorrelationTokenInvalidatedHandler.cs
- Point3D.cs
- CompModSwitches.cs
- Monitor.cs
- MediaPlayer.cs
- DifferencingCollection.cs
- DiscoveryMessageSequence11.cs
- BaseCollection.cs
- RandomNumberGenerator.cs
- ThicknessAnimation.cs
- ProcessHostServerConfig.cs
- FontStyleConverter.cs
- SqlMultiplexer.cs
- PeerName.cs
- AsymmetricSecurityProtocolFactory.cs
- TextBoxLine.cs
- SchemaCollectionPreprocessor.cs
- OperationCanceledException.cs
- WriteableBitmap.cs
- BuildResultCache.cs
- ParameterDataSourceExpression.cs
- CompatibleComparer.cs
- StateManagedCollection.cs
- EventLogEntry.cs
- FileDialog.cs
- SimpleType.cs
- Block.cs
- RayHitTestParameters.cs
- SecurityDescriptor.cs
- SqlDataAdapter.cs
- Html32TextWriter.cs
- SchemaObjectWriter.cs
- ClusterRegistryConfigurationProvider.cs
- LinearGradientBrush.cs
- KeyedHashAlgorithm.cs
- ConfigurationManager.cs
- RawStylusInputCustomData.cs
- SqlMetaData.cs
- JsonDeserializer.cs
- MD5CryptoServiceProvider.cs
- StateChangeEvent.cs
- Speller.cs
- EntityViewGenerator.cs
- SqlProfileProvider.cs
- WebBrowserSiteBase.cs
- UnsignedPublishLicense.cs
- Graphics.cs
- DataServiceExpressionVisitor.cs
- TiffBitmapEncoder.cs
- SvcMapFileSerializer.cs
- CodeSubDirectoriesCollection.cs
- StylusCollection.cs
- Block.cs
- RootBuilder.cs
- FixedBufferAttribute.cs
- BuildProvider.cs
- SecurityHeaderElementInferenceEngine.cs
- _BufferOffsetSize.cs
- EventDescriptor.cs
- VisualStateManager.cs
- DataGridViewElement.cs
- XsltArgumentList.cs
- DigitalSignatureProvider.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- InkCanvasSelectionAdorner.cs
- Bezier.cs
- DataControlPagerLinkButton.cs
- XmlValidatingReader.cs
- SystemMulticastIPAddressInformation.cs
- dataSvcMapFileLoader.cs
- InternalDuplexChannelListener.cs
- DbExpressionVisitor_TResultType.cs
- AllMembershipCondition.cs
- SafeReversePInvokeHandle.cs
- ListViewItem.cs
- ValidatingCollection.cs
- TouchDevice.cs
- ContainerParagraph.cs
- AsmxEndpointPickerExtension.cs
- CustomBindingCollectionElement.cs
- XPathNodeInfoAtom.cs
- ThicknessKeyFrameCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- ThicknessKeyFrameCollection.cs
- TypedTableBase.cs
- InkCanvasFeedbackAdorner.cs
- CacheChildrenQuery.cs
- GraphicsContainer.cs
- TabletDeviceInfo.cs
- AsyncWaitHandle.cs
- TextTreeObjectNode.cs
- LineSegment.cs
- AppSecurityManager.cs
- Axis.cs
- IsolatedStorageFile.cs
- ServiceParser.cs
- TextBoxDesigner.cs
- DrawingVisualDrawingContext.cs
- XmlDataFileEditor.cs
- ObjectView.cs