SqlHierarchyId.IsNull 属性

 

获取一个值,该值指示 SqlHierarchyId 是否为 null

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

public bool IsNull {
    [SqlMethodAttribute(DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None, 
        IsDeterministic = true, IsPrecise = true, IsMutator = false)]
    get;
}
public:
property bool IsNull {
    [SqlMethodAttribute(DataAccess = DataAccessKind::None, SystemDataAccess = SystemDataAccessKind::None, 
        IsDeterministic = true, IsPrecise = true, IsMutator = false)]
    virtual bool get() sealed;
}
abstract IsNull : bool with get
override IsNull : bool with get
Public ReadOnly Property IsNull As Boolean

属性值

Type: System.Boolean

Boolean:如果 SqlHierarchyId 节点为 true,则表示 null (1);否则为 false (0)。

实现

INullable.IsNull

备注

此成员是 virtual

另请参阅

SqlHierarchyId 结构
Microsoft.SqlServer.Types 命名空间

返回页首