共用方式為


IView.GetDefaultValues Method

Gets a field value dictionary that contains the default values for this view.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetDefaultValues As IFieldValueDictionary
'Usage
Dim instance As IView
Dim returnValue As IFieldValueDictionary

returnValue = instance.GetDefaultValues()
IFieldValueDictionary GetDefaultValues()

Return Value

Type: Microsoft.BusinessData.Runtime.IFieldValueDictionary
The field value dictionary that contains the default values for this view.

Remarks

This method is typically used to create the FieldValueDictionary that would be input to IEntity.Create or IEntity.CreateWithField methods.

A default value is the value on a TypeDescriptor for given MethodInstance object. The default value for a TypeDescriptor is used when communicating with the external system and the user does not specify a value corresponding to that TypeDescriptor.

Examples

Code Snippet: Execute the Creator Method Instance of an External Content Type

See Also

Reference

IView Interface

IView Members

Microsoft.BusinessData.MetadataModel Namespace