Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ComUdtElement.cs / 1 / ComUdtElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Globalization; using System.Xml; public sealed partial class ComUdtElement : ConfigurationElement { public ComUdtElement() : base() { } public ComUdtElement(string typeDefID) : this() { this.TypeDefID = typeDefID; } [ConfigurationProperty(ConfigurationStrings.Name, DefaultValue = "", Options = ConfigurationPropertyOptions.None)] [StringValidator(MinLength = 0)] public string Name { get { return (string)base[ConfigurationStrings.Name]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.Name] = value; } } [ConfigurationProperty(ConfigurationStrings.TypeLibID, Options = ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string TypeLibID { get { return (string)base[ConfigurationStrings.TypeLibID]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.TypeLibID] = value; } } [ConfigurationProperty(ConfigurationStrings.TypeLibVersion, Options = ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string TypeLibVersion { get { return (string)base[ConfigurationStrings.TypeLibVersion]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.TypeLibVersion] = value; } } [ConfigurationProperty(ConfigurationStrings.TypeDefID, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string TypeDefID { get { return (string)base[ConfigurationStrings.TypeDefID]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.TypeDefID] = 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
- DecryptedHeader.cs
- Rotation3D.cs
- BuildResultCache.cs
- HtmlToClrEventProxy.cs
- RegexRunner.cs
- SafeLibraryHandle.cs
- Wildcard.cs
- Stylus.cs
- InvalidDataException.cs
- XamlGridLengthSerializer.cs
- NameValueFileSectionHandler.cs
- SafeSecurityHandles.cs
- CodeChecksumPragma.cs
- ScrollBar.cs
- Canonicalizers.cs
- NativeRightsManagementAPIsStructures.cs
- AnchoredBlock.cs
- EllipseGeometry.cs
- AutomationTextAttribute.cs
- SoapExtensionTypeElement.cs
- DllNotFoundException.cs
- AccessDataSource.cs
- TypeInitializationException.cs
- Rules.cs
- OrderedDictionary.cs
- PolyBezierSegment.cs
- RoleService.cs
- FormsAuthentication.cs
- ActivationService.cs
- LiteralLink.cs
- RegionIterator.cs
- NetNamedPipeSecurityElement.cs
- SqlServices.cs
- Stroke2.cs
- StreamGeometry.cs
- SqlWebEventProvider.cs
- ColumnWidthChangedEvent.cs
- ListViewSortEventArgs.cs
- RSAOAEPKeyExchangeFormatter.cs
- PointHitTestParameters.cs
- ReadingWritingEntityEventArgs.cs
- AssertHelper.cs
- ProviderUtil.cs
- BitmapPalettes.cs
- NominalTypeEliminator.cs
- DynamicDataExtensions.cs
- RadialGradientBrush.cs
- XmlDocumentFragment.cs
- DbProviderManifest.cs
- ProfileModule.cs
- ListBoxItemAutomationPeer.cs
- ServiceModelEnumValidatorAttribute.cs
- HwndProxyElementProvider.cs
- TextEffectResolver.cs
- DirtyTextRange.cs
- BooleanConverter.cs
- CurrencyManager.cs
- OleStrCAMarshaler.cs
- HttpChannelBindingToken.cs
- XmlQueryStaticData.cs
- DecoderFallback.cs
- ProfilePropertyNameValidator.cs
- DynamicField.cs
- ServiceMemoryGates.cs
- PointCollectionConverter.cs
- Descriptor.cs
- _CacheStreams.cs
- ControlDesigner.cs
- ContentOperations.cs
- DrawingCollection.cs
- BooleanExpr.cs
- CompensatableTransactionScopeActivityDesigner.cs
- ClickablePoint.cs
- MetadataResolver.cs
- TransportBindingElementImporter.cs
- InputLanguageSource.cs
- Debug.cs
- AsymmetricKeyExchangeFormatter.cs
- WebRequest.cs
- VScrollProperties.cs
- HtmlForm.cs
- DataColumn.cs
- MemberHolder.cs
- CodeExpressionStatement.cs
- TemplatePropertyEntry.cs
- HashAlgorithm.cs
- PriorityItem.cs
- ToolTipService.cs
- NamespaceDecl.cs
- WindowsAuthenticationModule.cs
- UrlMappingCollection.cs
- SelectionWordBreaker.cs
- EditCommandColumn.cs
- ProxyAttribute.cs
- ReadOnlyNameValueCollection.cs
- LayoutTable.cs
- tibetanshape.cs
- HttpContext.cs
- PeerNameRegistration.cs
- InplaceBitmapMetadataWriter.cs