ModelingDocView.InterceptDataObject 메서드
입력 데이터 개체를 끌어서 놓기 작업에 포함하려고 할 때 도구 상자에서 호출됩니다. 이 메서드를 사용하면 입력 데이터 개체가 반환된 데이터 개체로 대체되어 끌어서 놓기 작업 안으로 이동될 수 있습니다. 기본 구현은 null을 반환합니다. 즉, 대체할 입력 데이터 개체가 없습니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Shell
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
구문
‘선언
Protected Overridable Function InterceptDataObject ( _
input As IDataObject _
) As IDataObject
protected virtual IDataObject InterceptDataObject(
IDataObject input
)
매개 변수
- input
형식: Microsoft.VisualStudio.OLE.Interop.IDataObject
가로챌 입력 데이터 개체입니다.
반환 값
형식: Microsoft.VisualStudio.OLE.Interop.IDataObject
입력 데이터 개체를 대체할 데이터 개체입니다.null인 경우 대체 항목이 없음을 의미합니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.