Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeAttribute.cs / 1305376 / 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
- CachingParameterInspector.cs
- Pkcs7Signer.cs
- DefaultSerializationProviderAttribute.cs
- LockCookie.cs
- BinHexDecoder.cs
- BinaryKeyIdentifierClause.cs
- CancellationToken.cs
- RandomNumberGenerator.cs
- EnvelopedSignatureTransform.cs
- ResourceWriter.cs
- BamlRecordReader.cs
- CounterCreationData.cs
- WSSecurityPolicy.cs
- ExtendedPropertyDescriptor.cs
- XmlSchemaProviderAttribute.cs
- MultilineStringConverter.cs
- ListControlDataBindingHandler.cs
- EventlogProvider.cs
- GenerateTemporaryTargetAssembly.cs
- TemplatePagerField.cs
- BasicHttpBinding.cs
- FontWeight.cs
- RawTextInputReport.cs
- DrawingGroup.cs
- ProcessModelSection.cs
- DictionaryEntry.cs
- TextPointer.cs
- CounterSample.cs
- FtpCachePolicyElement.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- RemoveStoryboard.cs
- DomNameTable.cs
- EditorBrowsableAttribute.cs
- RotateTransform.cs
- Point3D.cs
- CalendarDay.cs
- HandoffBehavior.cs
- SQLCharsStorage.cs
- X509CertificateChain.cs
- RootCodeDomSerializer.cs
- ProcessProtocolHandler.cs
- ColumnTypeConverter.cs
- ExpressionTable.cs
- Base64Decoder.cs
- ToolboxBitmapAttribute.cs
- SchemaTypeEmitter.cs
- VisualSerializer.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- PartitionedStream.cs
- TrackingLocation.cs
- StringUtil.cs
- SafeNativeMethodsMilCoreApi.cs
- CompareValidator.cs
- x509utils.cs
- ThreadNeutralSemaphore.cs
- FrameworkRichTextComposition.cs
- CodeCompiler.cs
- ListViewGroup.cs
- SQLBinary.cs
- MouseActionValueSerializer.cs
- validation.cs
- MarginsConverter.cs
- ClockController.cs
- Ipv6Element.cs
- QueryOperationResponseOfT.cs
- __Error.cs
- WmpBitmapDecoder.cs
- FlowDocumentReader.cs
- LookupNode.cs
- HitTestWithPointDrawingContextWalker.cs
- LogArchiveSnapshot.cs
- HttpStreamXmlDictionaryWriter.cs
- DataViewSettingCollection.cs
- PhysicalAddress.cs
- XmlSerializerVersionAttribute.cs
- IsolatedStorageException.cs
- BinaryFormatter.cs
- NumericExpr.cs
- XmlWriterTraceListener.cs
- Update.cs
- DesignerSerializationOptionsAttribute.cs
- OperatingSystem.cs
- ExpressionHelper.cs
- BufferModesCollection.cs
- TiffBitmapEncoder.cs
- ServiceMoniker.cs
- IChannel.cs
- ItemsControlAutomationPeer.cs
- XmlCollation.cs
- ProgressBarBrushConverter.cs
- FreeFormDragDropManager.cs
- Collection.cs
- MatrixAnimationBase.cs
- __ComObject.cs
- FrameworkTextComposition.cs
- DriveInfo.cs
- SiteMapPath.cs
- IPEndPointCollection.cs
- COM2IPerPropertyBrowsingHandler.cs
- XmlBinaryWriter.cs