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
- PersistenceMetadataNamespace.cs
- EvidenceTypeDescriptor.cs
- ToolConsole.cs
- SqlWebEventProvider.cs
- SchemaElementDecl.cs
- GPRECTF.cs
- InputScopeAttribute.cs
- BindingSource.cs
- AnimatedTypeHelpers.cs
- DesignerView.Commands.cs
- FileSecurity.cs
- BaseCodeDomTreeGenerator.cs
- TextRangeProviderWrapper.cs
- NamespaceList.cs
- SafeNativeMethods.cs
- WebPartEditorOkVerb.cs
- PauseStoryboard.cs
- SqlProfileProvider.cs
- OutputWindow.cs
- CompositeFontParser.cs
- ArrayElementGridEntry.cs
- ClassDataContract.cs
- CollectionBuilder.cs
- Enum.cs
- ToolstripProfessionalRenderer.cs
- CodeConstructor.cs
- SafePointer.cs
- Point3DAnimationUsingKeyFrames.cs
- ISAPIWorkerRequest.cs
- DelegateSerializationHolder.cs
- ExpressionLexer.cs
- Setter.cs
- BrowserCapabilitiesCodeGenerator.cs
- XamlTypeMapper.cs
- ConfigurationValidatorAttribute.cs
- SecurityElement.cs
- StdRegProviderWrapper.cs
- FixedFindEngine.cs
- NavigationPropertyEmitter.cs
- PersonalizationState.cs
- ObjectDataSourceDisposingEventArgs.cs
- AutomationEvent.cs
- DataRowExtensions.cs
- HttpListenerTimeoutManager.cs
- DllNotFoundException.cs
- MsmqHostedTransportManager.cs
- HttpVersion.cs
- Win32PrintDialog.cs
- GridViewSelectEventArgs.cs
- DataSet.cs
- DBProviderConfigurationHandler.cs
- LOSFormatter.cs
- SafeSystemMetrics.cs
- TranslateTransform3D.cs
- StringUtil.cs
- InternalSendMessage.cs
- ConfigurationException.cs
- OleServicesContext.cs
- ScalarType.cs
- XmlElementAttributes.cs
- RoutedEventConverter.cs
- String.cs
- StatusBar.cs
- AnnotationService.cs
- HostExecutionContextManager.cs
- SymLanguageVendor.cs
- WebPartZoneBase.cs
- ByteFacetDescriptionElement.cs
- FixedTextPointer.cs
- ImageListStreamer.cs
- ConfigurationProperty.cs
- XAMLParseException.cs
- ExternalFile.cs
- InstanceDescriptor.cs
- _SslSessionsCache.cs
- XmlHierarchyData.cs
- FileDialog_Vista.cs
- RadioButtonList.cs
- SlotInfo.cs
- QueuePathDialog.cs
- SafeRegistryHandle.cs
- LeftCellWrapper.cs
- PeerNameRecord.cs
- ScheduleChanges.cs
- TreeNodeCollectionEditor.cs
- DataGridCellsPresenter.cs
- Point3DValueSerializer.cs
- RangeValuePatternIdentifiers.cs
- WebPartHelpVerb.cs
- SafeCertificateStore.cs
- TextStore.cs
- Pair.cs
- Content.cs
- CalendarAutomationPeer.cs
- AlternateViewCollection.cs
- TextTrailingCharacterEllipsis.cs
- CacheMemory.cs
- METAHEADER.cs
- VectorConverter.cs
- TypeExtension.cs