2.1.3.12 DefaultValue

Target namespace: http://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Referenced by: DefaultValues

A complex type that specifies the DefaultValue of a TypeDescriptor for a MethodInstance. The text associated with this element is the DefaultValue of the containing TypeDescriptor for the specified MethodInstance.

The application that utilizes the structure MUST use this value during initialization of structures corresponding to the TypeDescriptor in the context of executing the referenced MethodInstance.

The TypeDescriptor containing a DefaultValue element MUST be contained by a Parameter whose Direction attribute is set to "In" or "InOut".

Attributes:

MethodInstanceName: A NameString attribute (section 2.1.4.9) that specifies the name of the MethodInstance to which this DefaultValue refers.

Type: A TypeDescriptorTypeNameString attribute (section 2.1.4.15) that specifies the data type of the DefaultValue.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="DefaultValue" mixed="true">
   <xs:attribute name="MethodInstanceName" type="bdc:NameString" use="required"/>
   <xs:attribute name="Type" type="bdc:TypeDescriptorTypeNameString" use="required"/>
 </xs:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).