Visual Basic (Declaration) | |
---|---|
Public Shared Function CreateDataField( _ ByVal name As String, _ ByVal datatype As DataTypes, _ ByVal fieldscope As FieldScope, _ ByVal initialvalue As Object _ ) As DataField |
Visual Basic (Usage) | ![]() |
---|---|
Dim name As String Dim datatype As DataTypes Dim fieldscope As FieldScope Dim initialvalue As Object Dim value As DataField value = RecordsManagementEventItem.CreateDataField(name, datatype, fieldscope, initialvalue) |
C# | |
---|---|
public static DataField CreateDataField( string name, DataTypes datatype, FieldScope fieldscope, object initialvalue ) |
C++/CLI | |
---|---|
public: static DataField^ CreateDataField( String^ name, DataTypes datatype, FieldScope fieldscope, Object^ initialvalue ) |
Parameters
- name
- datatype
- fieldscope
- initialvalue
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2