Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / KnownTypeAttribute.cs / 1 / KnownTypeAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)] public sealed class KnownTypeAttribute : Attribute { string methodName; Type type; private KnownTypeAttribute() { // Disallow default constructor } public KnownTypeAttribute(Type type) { this.type = type; } public KnownTypeAttribute(string methodName) { this.methodName = methodName; } public string MethodName { get { return methodName; } //set { methodName = value; } } public Type Type { get { return type; } //set { type = 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
- OdbcError.cs
- QueryResponse.cs
- ItemsPresenter.cs
- ModuleBuilder.cs
- CancellationTokenRegistration.cs
- SafePEFileHandle.cs
- VisualBrush.cs
- XhtmlBasicCommandAdapter.cs
- BackStopAuthenticationModule.cs
- EventItfInfo.cs
- ColumnTypeConverter.cs
- NegatedConstant.cs
- ZipIOFileItemStream.cs
- ToolStripPanelRow.cs
- NumericUpDown.cs
- CustomError.cs
- PagePropertiesChangingEventArgs.cs
- SoapProtocolReflector.cs
- SectionXmlInfo.cs
- VisualBrush.cs
- InputLanguageEventArgs.cs
- InvalidWMPVersionException.cs
- EncodingNLS.cs
- XmlDocumentSerializer.cs
- SqlException.cs
- MaskedTextBox.cs
- ImageButton.cs
- pingexception.cs
- OracleNumber.cs
- UIElementAutomationPeer.cs
- SiteMapNode.cs
- SchemaImporterExtensionElementCollection.cs
- OdbcConnectionStringbuilder.cs
- CompositeCollection.cs
- CompModSwitches.cs
- CustomErrorsSectionWrapper.cs
- SoapEnumAttribute.cs
- RijndaelManaged.cs
- OrderedDictionary.cs
- PartialClassGenerationTaskInternal.cs
- RegexStringValidatorAttribute.cs
- DataRowComparer.cs
- GiveFeedbackEvent.cs
- RTLAwareMessageBox.cs
- GACIdentityPermission.cs
- DomainUpDown.cs
- AccessorTable.cs
- XmlMapping.cs
- typedescriptorpermissionattribute.cs
- HideDisabledControlAdapter.cs
- PingReply.cs
- HttpApplication.cs
- ControlLocalizer.cs
- StrokeIntersection.cs
- IPEndPoint.cs
- DataTrigger.cs
- WebPartVerbCollection.cs
- OrderingQueryOperator.cs
- PenThreadPool.cs
- VersionPair.cs
- ADMembershipProvider.cs
- SdlChannelSink.cs
- CodeDOMProvider.cs
- DataRecord.cs
- _NegoStream.cs
- Error.cs
- QilInvoke.cs
- DateBoldEvent.cs
- CompilerTypeWithParams.cs
- EndPoint.cs
- DbgUtil.cs
- IdnMapping.cs
- DataColumnCollection.cs
- NumericExpr.cs
- MetadataArtifactLoaderComposite.cs
- InvalidCastException.cs
- SuppressMergeCheckAttribute.cs
- DependencyPropertyValueSerializer.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- InheritanceContextHelper.cs
- DataGridColumnsPage.cs
- Calendar.cs
- XmlDataSource.cs
- ColumnHeader.cs
- UnmanagedMarshal.cs
- CompilerCollection.cs
- SafeArrayRankMismatchException.cs
- SemaphoreFullException.cs
- SafeFileMappingHandle.cs
- AttributeData.cs
- HtmlInputRadioButton.cs
- SystemSounds.cs
- ResourceCodeDomSerializer.cs
- PolicyException.cs
- ColorTransformHelper.cs
- SecurityIdentifierElement.cs
- ExpressionBuilder.cs
- ObjectView.cs
- RadioButtonList.cs
- TabletDevice.cs