Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeAttribute.cs / 1305376 / 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
- FileDialog_Vista_Interop.cs
- NetTcpSecurity.cs
- ImageAutomationPeer.cs
- MonthChangedEventArgs.cs
- DataGridViewCheckBoxColumn.cs
- SocketException.cs
- Sentence.cs
- TabItemWrapperAutomationPeer.cs
- ZipIOCentralDirectoryBlock.cs
- GPPOINT.cs
- ThreadStateException.cs
- MouseButton.cs
- IndexOutOfRangeException.cs
- XmlSchemaIdentityConstraint.cs
- ActivityFunc.cs
- safemediahandle.cs
- SystemIcmpV6Statistics.cs
- HMACMD5.cs
- UInt64.cs
- IisTraceListener.cs
- CodeMemberMethod.cs
- CodeStatement.cs
- DataGridPageChangedEventArgs.cs
- OutputCacheProfileCollection.cs
- NativeRecognizer.cs
- CodeGenerator.cs
- DesignerPainter.cs
- WebPartCollection.cs
- UpdateCompiler.cs
- EmissiveMaterial.cs
- DESCryptoServiceProvider.cs
- StrongNamePublicKeyBlob.cs
- XsdDuration.cs
- HTMLTagNameToTypeMapper.cs
- ConnectionStringsSection.cs
- DbRetry.cs
- figurelengthconverter.cs
- RuleSetDialog.Designer.cs
- XamlRtfConverter.cs
- BoolExpr.cs
- NotSupportedException.cs
- DataSourceCache.cs
- UICuesEvent.cs
- DtdParser.cs
- EntityContainerRelationshipSet.cs
- InnerItemCollectionView.cs
- TimestampInformation.cs
- StructuredProperty.cs
- GridViewSortEventArgs.cs
- StatusBarPanelClickEvent.cs
- FrameworkElement.cs
- InvokeMethodDesigner.xaml.cs
- HostProtectionPermission.cs
- SequenceFullException.cs
- ImplicitInputBrush.cs
- OperationSelectorBehavior.cs
- TargetParameterCountException.cs
- PersonalizablePropertyEntry.cs
- ObjectViewFactory.cs
- TracedNativeMethods.cs
- InstanceCollisionException.cs
- Model3DGroup.cs
- UrlPath.cs
- RuleSet.cs
- FileSystemInfo.cs
- DiscriminatorMap.cs
- DataControlButton.cs
- NameNode.cs
- MsmqIntegrationBinding.cs
- CommandEventArgs.cs
- XmlSchemaGroupRef.cs
- InheritedPropertyChangedEventArgs.cs
- LogicalTreeHelper.cs
- XmlSchemaSimpleTypeUnion.cs
- DeviceContext2.cs
- OdbcConnectionFactory.cs
- OneToOneMappingSerializer.cs
- XmlNamespaceDeclarationsAttribute.cs
- CultureNotFoundException.cs
- IERequestCache.cs
- XamlDesignerSerializationManager.cs
- WindowsStatic.cs
- DiagnosticEventProvider.cs
- SoapDocumentMethodAttribute.cs
- WriteStateInfoBase.cs
- ListView.cs
- JsonFormatGeneratorStatics.cs
- OperatingSystem.cs
- InheritablePropertyChangeInfo.cs
- ReaderWriterLockWrapper.cs
- Quaternion.cs
- UdpUtility.cs
- MultilineStringConverter.cs
- MenuItemBindingCollection.cs
- EntityDataSourceDataSelectionPanel.cs
- StorageComplexTypeMapping.cs
- SynchronizedInputAdaptor.cs
- VariableReference.cs
- LocalBuilder.cs
- WebPartDisplayModeCancelEventArgs.cs