IVsDataViewHierarchy.DiscardItem 메서드

서버 탐색기에서 지정 된 노드를 제거 하 고 해당 하는 개체가 메모리에서 해제 합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services.SupportEntities
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
Function DiscardItem ( _
    itemId As Integer _
) As Boolean
bool DiscardItem(
    int itemId
)
bool DiscardItem(
    int itemId
)
abstract DiscardItem : 
        itemId:int -> bool
function DiscardItem(
    itemId : int
) : boolean

매개 변수

  • itemId
    형식: Int32

    노드 제거에 대 한 숫자 식별자입니다.

반환 값

형식: Boolean
true if node is removed; otherwise, false.

.NET Framework 보안

참고 항목

참조

IVsDataViewHierarchy 인터페이스

Microsoft.VisualStudio.Data.Services.SupportEntities 네임스페이스