共用方式為


TeamFoundationTableValueParameter<T>.SetNullableStringAsEmpty Method

Sets the value of a specific column to the specified string. If the value of the string is null, it will be converted to an empty string; otherwise, the input string is used.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub SetNullableStringAsEmpty ( _
    record As SqlDataRecord, _
    ordinal As Integer, _
    value As String _
)
public void SetNullableStringAsEmpty(
    SqlDataRecord record,
    int ordinal,
    string value
)
public:
void SetNullableStringAsEmpty(
    SqlDataRecord^ record, 
    int ordinal, 
    String^ value
)
member SetNullableStringAsEmpty : 
        record:SqlDataRecord * 
        ordinal:int * 
        value:string -> unit
public function SetNullableStringAsEmpty(
    record : SqlDataRecord, 
    ordinal : int, 
    value : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationTableValueParameter<T> Class

Microsoft.TeamFoundation.Framework.Server Namespace