Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeAttribute.cs / 1 / SoapAttributeAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapAttributeAttribute : System.Attribute {
string attributeName;
string ns;
string dataType;
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute(string attributeName) {
this.attributeName = attributeName;
}
///
///
/// [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; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapAttributeAttribute : System.Attribute {
string attributeName;
string ns;
string dataType;
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute(string attributeName) {
this.attributeName = attributeName;
}
///
///
/// [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; }
}
}
}
// 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
- DiscoveryCallbackBehavior.cs
- PopOutPanel.cs
- ServiceMemoryGates.cs
- VirtualizingPanel.cs
- MonthCalendar.cs
- TemplateBuilder.cs
- TTSEvent.cs
- SamlAction.cs
- BooleanKeyFrameCollection.cs
- HandledEventArgs.cs
- ManagedIStream.cs
- TiffBitmapDecoder.cs
- ComplexLine.cs
- BrowserCapabilitiesFactoryBase.cs
- XmlNodeReader.cs
- ControlParameter.cs
- XamlPointCollectionSerializer.cs
- ContentPresenter.cs
- XNodeValidator.cs
- RectangleHotSpot.cs
- BulletedList.cs
- CodeComment.cs
- CombinedHttpChannel.cs
- Calendar.cs
- ZeroOpNode.cs
- ResourcePermissionBaseEntry.cs
- BufferAllocator.cs
- PasswordRecovery.cs
- InplaceBitmapMetadataWriter.cs
- HttpClientChannel.cs
- ResetableIterator.cs
- TransportBindingElementImporter.cs
- MissingMethodException.cs
- VersionedStream.cs
- EnumUnknown.cs
- WebSysDescriptionAttribute.cs
- RubberbandSelector.cs
- OdbcInfoMessageEvent.cs
- X509InitiatorCertificateServiceElement.cs
- BitmapPalette.cs
- SaveCardRequest.cs
- ListArgumentProvider.cs
- IISMapPath.cs
- ConfigurationSectionHelper.cs
- DisplayMemberTemplateSelector.cs
- WsdlWriter.cs
- ScrollEvent.cs
- UInt16.cs
- validationstate.cs
- CodeFieldReferenceExpression.cs
- ValidatedControlConverter.cs
- SqlDelegatedTransaction.cs
- EnvelopedPkcs7.cs
- DBPropSet.cs
- DataGridAutoFormat.cs
- _SingleItemRequestCache.cs
- Grammar.cs
- KeyFrames.cs
- DeviceContexts.cs
- ContainerUtilities.cs
- CTreeGenerator.cs
- AstTree.cs
- AssemblyHelper.cs
- SystemIPGlobalStatistics.cs
- AutomationPatternInfo.cs
- UIElementAutomationPeer.cs
- MarkupCompiler.cs
- AssemblyHash.cs
- DesignColumnCollection.cs
- AdornedElementPlaceholder.cs
- WebPartVerb.cs
- MutableAssemblyCacheEntry.cs
- DeobfuscatingStream.cs
- MatchingStyle.cs
- httpserverutility.cs
- NavigationWindowAutomationPeer.cs
- AttachmentCollection.cs
- UnsafeNativeMethods.cs
- EndpointIdentity.cs
- FontWeight.cs
- KeyFrames.cs
- AdornerHitTestResult.cs
- FixedDocumentSequencePaginator.cs
- SqlConnection.cs
- UserControlCodeDomTreeGenerator.cs
- LinqDataSourceStatusEventArgs.cs
- SystemPens.cs
- _UncName.cs
- JournalEntry.cs
- ErrorInfoXmlDocument.cs
- OutputCache.cs
- ServiceModelExtensionCollectionElement.cs
- MenuItemCollection.cs
- BamlCollectionHolder.cs
- Set.cs
- NavigationExpr.cs
- FrameAutomationPeer.cs
- Random.cs
- ComponentManagerBroker.cs
- SqlClientMetaDataCollectionNames.cs