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;
///
///
/// [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
- TdsParserStaticMethods.cs
- BypassElement.cs
- WebReferencesBuildProvider.cs
- QueryAccessibilityHelpEvent.cs
- PtsHelper.cs
- AdapterUtil.cs
- ImportDesigner.xaml.cs
- SQLDecimalStorage.cs
- RuleValidation.cs
- Table.cs
- EpmSourceTree.cs
- MethodExpr.cs
- mactripleDES.cs
- SessionStateItemCollection.cs
- TemplatedWizardStep.cs
- AsyncResult.cs
- keycontainerpermission.cs
- SingleObjectCollection.cs
- AdCreatedEventArgs.cs
- ForwardPositionQuery.cs
- DynamicPropertyReader.cs
- BitmapEffectGroup.cs
- SafeRegistryHandle.cs
- Msmq4PoisonHandler.cs
- ImpersonationContext.cs
- DataGridAddNewRow.cs
- SynchronousChannel.cs
- SqlNode.cs
- InputScope.cs
- ParallelActivityDesigner.cs
- _SSPIWrapper.cs
- RefType.cs
- SecurityManager.cs
- Win32Native.cs
- CurrentChangingEventArgs.cs
- QuaternionAnimation.cs
- JsonFormatGeneratorStatics.cs
- ProfileProvider.cs
- FlowDocumentFormatter.cs
- TableRow.cs
- RegexStringValidatorAttribute.cs
- CellLabel.cs
- RelationshipFixer.cs
- UnsafeNativeMethods.cs
- PrintPreviewGraphics.cs
- SolidColorBrush.cs
- serverconfig.cs
- LinkConverter.cs
- InputEventArgs.cs
- SqlDataSourceFilteringEventArgs.cs
- Context.cs
- CorrelationTokenTypeConvertor.cs
- ProcessProtocolHandler.cs
- GridToolTip.cs
- CredentialManagerDialog.cs
- DataGridViewButtonColumn.cs
- AppDomainProtocolHandler.cs
- KeysConverter.cs
- NameSpaceEvent.cs
- ToolStripCodeDomSerializer.cs
- CellParagraph.cs
- SqlServices.cs
- ClipboardData.cs
- PersonalizationEntry.cs
- WebControl.cs
- WpfWebRequestHelper.cs
- MarshalByRefObject.cs
- ObjectNotFoundException.cs
- KnownBoxes.cs
- EmptyControlCollection.cs
- EndpointInfoCollection.cs
- DesignerSerializationVisibilityAttribute.cs
- CultureSpecificStringDictionary.cs
- KeyConverter.cs
- RichTextBox.cs
- InstancePersistenceException.cs
- _NTAuthentication.cs
- CodeArrayCreateExpression.cs
- EncoderReplacementFallback.cs
- Scheduling.cs
- PingReply.cs
- MobileResource.cs
- WorkflowDebuggerSteppingAttribute.cs
- UIElement3D.cs
- NavigationPropertyEmitter.cs
- securitymgrsite.cs
- DataGridViewBand.cs
- CellParaClient.cs
- DataGridViewCellCancelEventArgs.cs
- ProgressiveCrcCalculatingStream.cs
- WebAdminConfigurationHelper.cs
- CultureInfoConverter.cs
- TableLayoutCellPaintEventArgs.cs
- ThrowHelper.cs
- Decimal.cs
- LoadItemsEventArgs.cs
- SystemIPInterfaceStatistics.cs
- ClientApiGenerator.cs
- UriTemplateQueryValue.cs
- UrlEncodedParameterWriter.cs