DatabaseSchemaViewNode.GetIcon 方法

返回节点的图标。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.SchemaView
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
Public Overridable Function GetIcon ( _
    isExpandedFolder As Boolean _
) As Bitmap
public virtual Bitmap GetIcon(
    bool isExpandedFolder
)
public:
virtual Bitmap^ GetIcon(
    bool isExpandedFolder
)
abstract GetIcon : 
        isExpandedFolder:bool -> Bitmap 
override GetIcon : 
        isExpandedFolder:bool -> Bitmap 
public function GetIcon(
    isExpandedFolder : boolean
) : Bitmap

参数

  • isExpandedFolder
    类型:System.Boolean
    如果要返回展开的文件夹图标,则为 True。

返回值

类型:System.Drawing.Bitmap

实现

ISchemaModelViewerNode.GetIcon(Boolean)

.NET Framework 安全性

请参见

参考

DatabaseSchemaViewNode 类

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.SchemaView 命名空间