Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 4.09 KB

nametypeelement-class.md

File metadata and controls

57 lines (44 loc) · 4.09 KB
title description ms.date ms.assetid
NameTypeElement Class
This article describes the syntax, properties, inheritance, and requirements for the NameTypeElement class.
10/07/2016
ee410798-43e4-96dc-a07c-a823804e7822

NameTypeElement Class

Associates a name and a managed type.

Syntax

class NameTypeElement : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the NameTypeElement class.

Name Description
Name A required unique read/write string value that specifies a name. The key property.
Type A read/write string value that specifies a managed type associated with the value in the Name property. Note: The type reference is formed as follows (items in brackets are not required): Namespace.Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z] (for example, "ExampleNamespace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%").

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the Providers array property of the ProvidersSettings class, in the Switches array property of the SwitchSettings class, and in the SchemaImporterExtensions array property of the SchemaImporterExtensionsSection class.

Note

If you update the Name property in a collection of providers, only the Name and Type attributes of the provider will be saved to the configuration file. Other previously saved provider attributes will no longer appear in the configuration file.

Inheritance Hierarchy

CollectionElement

NameTypeElement

Requirements

Type Description
Client - [!INCLUDEiis70] on [!INCLUDEwinvista]
- [!INCLUDEiis75] on [!INCLUDEwin7]
- [!INCLUDEiis80] on [!INCLUDEwin8]
- [!INCLUDEiis100] on [!INCLUDEwin10]
Server - [!INCLUDEiis70] on [!INCLUDEwinsrv2008]
- [!INCLUDEiis75] on [!INCLUDEwinsrv2008r2]
- [!INCLUDEiis80] on [!INCLUDEwinsrv2012]
- [!INCLUDEiis85] on [!INCLUDEwinsrv2012r2]
- [!INCLUDEiis100] on [!INCLUDEwinsrv2016]
Product - [!INCLUDEiis70], [!INCLUDEiis75], [!INCLUDEiis80], [!INCLUDEiis85], [!INCLUDEiis100]
MOF file WebAdministration.mof

See Also

CollectionElement Class
ConfigProtectedDataSection Class
MembershipSection Class
ProvidersSettings Class
RoleManagerSection Class
SchemaImporterExtensionsSection Class
SwitchSettings Class