다음을 통해 공유


DTE2.ItemOperations 속성

ItemOperations 개체를 가져옵니다.

네임스페이스:  EnvDTE80
어셈블리:  EnvDTE80(EnvDTE80.dll)

구문

‘선언
ReadOnly Property ItemOperations As ItemOperations
ItemOperations ItemOperations { get; }
property ItemOperations^ ItemOperations {
    ItemOperations^ get ();
}
abstract ItemOperations : ItemOperations with get
function get ItemOperations () : ItemOperations

속성 값

형식: ItemOperations
ItemOperations 개체

설명

ItemOperations 개체는 항목 추가, 파일 열기새 파일 대화 상자와 같이 대화 상자 채우기와 관련된 멤버를 포함합니다.

예제

Sub ItemOperationsExample()
  Dim objTextDoc As TextDocument
  Dim objEP As EditPoint
  
  ' Create a new text document.
  Call DTE2.ItemOperations.NewFile("General\Text File")
  'Get a handle to the new document.
  Set objTextDoc = DTE2.ActiveDocument.Object("TextDocument")
  Set objEP = objTextDoc.StartPoint.CreateEditPoint
  'Create an EditPoint and add some text.
  objEP.Insert "A test sentence."
End Sub

.NET Framework 보안

참고 항목

참조

DTE2 인터페이스

EnvDTE80 네임스페이스