Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertySegmentSerializer.cs
- ProviderConnectionPoint.cs
- Keyboard.cs
- Tablet.cs
- ExpandCollapseProviderWrapper.cs
- DotAtomReader.cs
- MethodBuilder.cs
- PostBackTrigger.cs
- StagingAreaInputItem.cs
- SafeCryptContextHandle.cs
- MouseGestureConverter.cs
- ObjectConverter.cs
- BaseTemplateParser.cs
- DocumentPageView.cs
- FormViewRow.cs
- NativeMethods.cs
- FrameworkContentElement.cs
- HtmlImage.cs
- COMException.cs
- GenericTypeParameterBuilder.cs
- Command.cs
- Interlocked.cs
- ScrollEvent.cs
- WindowsGraphics2.cs
- TextTreeExtractElementUndoUnit.cs
- GridItemCollection.cs
- DataContractSet.cs
- DynamicILGenerator.cs
- webproxy.cs
- CommonXSendMessage.cs
- CharacterString.cs
- CompilerHelpers.cs
- LeaseManager.cs
- ConstraintManager.cs
- TypeForwardedToAttribute.cs
- MultipleViewPattern.cs
- SafeNativeMethods.cs
- HttpServerVarsCollection.cs
- ChtmlTextWriter.cs
- HttpRequestCacheValidator.cs
- XmlMemberMapping.cs
- AppendHelper.cs
- Freezable.cs
- Expression.DebuggerProxy.cs
- CursorConverter.cs
- GenericUriParser.cs
- Token.cs
- TypeSemantics.cs
- PeerNameResolver.cs
- AttributeCollection.cs
- QueryStringParameter.cs
- InstancePersistenceCommand.cs
- InfoCardCryptoHelper.cs
- DeflateStream.cs
- UnsafeNativeMethods.cs
- GradientSpreadMethodValidation.cs
- EventToken.cs
- DocumentSequenceHighlightLayer.cs
- SQlBooleanStorage.cs
- StringArrayConverter.cs
- PathData.cs
- JsonFormatGeneratorStatics.cs
- TypefaceCollection.cs
- RouteValueDictionary.cs
- FontSource.cs
- Knowncolors.cs
- ParseNumbers.cs
- CacheOutputQuery.cs
- ListViewHitTestInfo.cs
- IssuanceLicense.cs
- DecoderFallbackWithFailureFlag.cs
- OperationCanceledException.cs
- WebPartEditorApplyVerb.cs
- BridgeDataReader.cs
- ByteAnimationBase.cs
- ToolStripTemplateNode.cs
- HttpContext.cs
- DesignerView.cs
- ServiceContractViewControl.cs
- RunWorkerCompletedEventArgs.cs
- StorageRoot.cs
- MailWriter.cs
- DataPointer.cs
- RewritingValidator.cs
- CompiledWorkflowDefinitionContext.cs
- TreeNodeEventArgs.cs
- EventSinkActivity.cs
- DataGridViewColumnConverter.cs
- _WebProxyDataBuilder.cs
- NamespaceCollection.cs
- ModifierKeysConverter.cs
- NegotiateStream.cs
- OrderByQueryOptionExpression.cs
- ActivityWithResultConverter.cs
- Certificate.cs
- XmlAttributes.cs
- BamlResourceContent.cs
- DependencyPropertyHelper.cs
- SizeChangedInfo.cs
- NetworkAddressChange.cs