Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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;
///
///
/// [To be supplied.]
///
[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.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
using System.Xml.Schema;
///
///
/// [To be supplied.]
///
[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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MediaCommands.cs
- PolicyVersionConverter.cs
- InputLangChangeEvent.cs
- MsmqMessage.cs
- EntityDataSourceConfigureObjectContext.cs
- NetStream.cs
- LayoutTableCell.cs
- CustomCategoryAttribute.cs
- ProfileInfo.cs
- FileUtil.cs
- ErrorsHelper.cs
- AuthorizationRuleCollection.cs
- SystemBrushes.cs
- CodeParameterDeclarationExpression.cs
- UnknownBitmapDecoder.cs
- CheckBoxBaseAdapter.cs
- Console.cs
- AnimationTimeline.cs
- __Filters.cs
- SymbolEqualComparer.cs
- WizardPanelChangingEventArgs.cs
- ToolStripButton.cs
- DataErrorValidationRule.cs
- BaseCodePageEncoding.cs
- EntityDataSourceStatementEditorForm.cs
- SoapEnvelopeProcessingElement.cs
- SHA1Managed.cs
- UIPermission.cs
- SpellerStatusTable.cs
- AssociationTypeEmitter.cs
- ColorMap.cs
- MailMessageEventArgs.cs
- OdbcParameter.cs
- SubMenuStyleCollection.cs
- CalendarTable.cs
- CodeIndexerExpression.cs
- ListBoxItemAutomationPeer.cs
- ChannelTraceRecord.cs
- DBPropSet.cs
- AssemblyHash.cs
- DependentList.cs
- PackageRelationshipCollection.cs
- KeyPullup.cs
- Int32EqualityComparer.cs
- DtcInterfaces.cs
- IDictionary.cs
- CellTreeNodeVisitors.cs
- SpotLight.cs
- DelegatingTypeDescriptionProvider.cs
- ObjRef.cs
- FamilyMap.cs
- ParagraphVisual.cs
- ReferentialConstraintRoleElement.cs
- ECDsaCng.cs
- BitmapScalingModeValidation.cs
- UnsafeNativeMethods.cs
- EventPropertyMap.cs
- PersonalizationProviderCollection.cs
- RootAction.cs
- IISMapPath.cs
- StaticSiteMapProvider.cs
- HostedAspNetEnvironment.cs
- SafeThemeHandle.cs
- ExceptionHandler.cs
- NameValueSectionHandler.cs
- OdbcFactory.cs
- PreloadedPackages.cs
- RightsController.cs
- NamedPipeProcessProtocolHandler.cs
- SafeNativeMethods.cs
- ConnectorDragDropGlyph.cs
- Visual3D.cs
- SoapCommonClasses.cs
- ActionMismatchAddressingException.cs
- HostedHttpRequestAsyncResult.cs
- XpsFilter.cs
- TextSegment.cs
- EncryptedPackageFilter.cs
- Highlights.cs
- GeneralTransform2DTo3DTo2D.cs
- QueryFunctions.cs
- ToolBarTray.cs
- WebPartManagerInternals.cs
- FrugalMap.cs
- CustomGrammar.cs
- TabletCollection.cs
- TdsParser.cs
- DEREncoding.cs
- SerializerWriterEventHandlers.cs
- ClientTargetSection.cs
- TabControlDesigner.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ComplexTypeEmitter.cs
- ToolStripKeyboardHandlingService.cs
- StandardToolWindows.cs
- ConnectionManagementElementCollection.cs
- WizardDesigner.cs
- WindowsSolidBrush.cs
- WebPageTraceListener.cs
- CounterCreationData.cs