XmlSerializerCache.GetXmlElementConstructor Method

Get the constructor that has one XmlElement parameter for the specified type.

Namespace: Microsoft.Web.Services3.Xml
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim type As Type
Dim returnValue As ConstructorInfo
returnValue = XmlSerializerCache.GetXmlElementConstructor(type)

Syntax

'Declaration
Public Shared Function GetXmlElementConstructor( _
    ByVal type As Type _
) As ConstructorInfo
public static ConstructorInfo GetXmlElementConstructor(
    Type type
);
public:
static ConstructorInfo^ GetXmlElementConstructor(
    Type^ type
);
public static ConstructorInfo GetXmlElementConstructor(
    Type type
);
public static function GetXmlElementConstructor(
     type : Type
) : ConstructorInfo;

Parameters

  • type
    The Type to get the constructor for.

Return Value

A ConstructorInfo that is the constructor for the specified type that has one XmlElement parameter.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

XmlSerializerCache Class
XmlSerializerCache Members
Microsoft.Web.Services3.Xml Namespace