次の方法で共有


View::CellContents property

The CellContents property returns the contents from a specified cell. This property is read-only.

Syntax

Property CellContents( _
  ByVal Node As Node, _
  ByVal Column As Long _
) As String

Property value

Contents of the cell at the specified node and column.

Examples

' Retrieve the first node in the list view.
Dim objNode As MMC20.Node
Set objNode = objView.ListItems(1)
 
' Retrieve the contents of the Node's second column.
Dim strContents As String
strContents = objView.CellContents(objNode, 2)
 
' This example displays the contents in a message box.
MsgBox (strContents)
 
' Free the Node object when done.
Set objNode = Nothing

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38