Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AutomationTextAttribute.cs
- MethodToken.cs
- InvalidAsynchronousStateException.cs
- ConfigurationSectionCollection.cs
- PageStatePersister.cs
- CompareValidator.cs
- TableStyle.cs
- Compiler.cs
- SoapInteropTypes.cs
- EntityRecordInfo.cs
- Fonts.cs
- RuntimeHelpers.cs
- UpdatableGenericsFeature.cs
- IdentitySection.cs
- CustomValidator.cs
- BitmapEffectDrawingContextWalker.cs
- AnimatedTypeHelpers.cs
- CalendarDay.cs
- DbProviderServices.cs
- DeclarativeCatalogPart.cs
- TracePayload.cs
- MimeBasePart.cs
- WebConvert.cs
- ResourcesChangeInfo.cs
- XMLSchema.cs
- DeadLetterQueue.cs
- PerformanceCountersElement.cs
- DataGridDesigner.cs
- ThicknessAnimation.cs
- RequestResizeEvent.cs
- CompositeScriptReferenceEventArgs.cs
- SqlDataSourceAdvancedOptionsForm.cs
- _ContextAwareResult.cs
- SafeRightsManagementSessionHandle.cs
- XhtmlBasicFormAdapter.cs
- TaskFormBase.cs
- ListViewGroupItemCollection.cs
- ApplyHostConfigurationBehavior.cs
- documentation.cs
- XmlCharCheckingReader.cs
- HostProtectionException.cs
- CredentialManagerDialog.cs
- NameSpaceEvent.cs
- ParameterBuilder.cs
- LinqDataSourceValidationException.cs
- COM2FontConverter.cs
- ApplicationSecurityManager.cs
- HtmlTableRow.cs
- ColumnMapVisitor.cs
- TextModifier.cs
- ViewService.cs
- SessionEndingEventArgs.cs
- WindowsClaimSet.cs
- XslCompiledTransform.cs
- DataSetMappper.cs
- Byte.cs
- CounterSample.cs
- RetriableClipboard.cs
- FixedSOMGroup.cs
- HtmlShim.cs
- EntityDesignerUtils.cs
- DesignerUtils.cs
- MemberExpressionHelper.cs
- Array.cs
- Invariant.cs
- LocalBuilder.cs
- HttpRequest.cs
- ThreadStateException.cs
- DataGridTableCollection.cs
- ConfigurationLocation.cs
- ReadOnlyCollection.cs
- SpecularMaterial.cs
- ProcessHost.cs
- XpsTokenContext.cs
- MetadataArtifactLoaderCompositeFile.cs
- PolyBezierSegment.cs
- LicFileLicenseProvider.cs
- DisplayNameAttribute.cs
- AngleUtil.cs
- RegexTypeEditor.cs
- DbParameterCollectionHelper.cs
- SqlClientMetaDataCollectionNames.cs
- SkewTransform.cs
- MonthChangedEventArgs.cs
- BasicViewGenerator.cs
- FixedTextView.cs
- XamlPointCollectionSerializer.cs
- HttpPostedFile.cs
- ThaiBuddhistCalendar.cs
- SmiMetaData.cs
- DiscoveryReferences.cs
- SafeViewOfFileHandle.cs
- PropertyPathConverter.cs
- DataGridTable.cs
- IpcClientChannel.cs
- TitleStyle.cs
- UriExt.cs
- VisualBasicSettings.cs
- FlowPosition.cs
- ProtocolsConfigurationHandler.cs