_DTE.ItemOperations Свойство

Определение

Получает объект ItemOperations.

public:
 property EnvDTE::ItemOperations ^ ItemOperations { EnvDTE::ItemOperations ^ get(); };
public:
 property EnvDTE::ItemOperations ^ ItemOperations { EnvDTE::ItemOperations ^ get(); };
[System.Runtime.InteropServices.DispId(233)]
public EnvDTE.ItemOperations ItemOperations { [System.Runtime.InteropServices.DispId(233)] get; }
[<System.Runtime.InteropServices.DispId(233)>]
[<get: System.Runtime.InteropServices.DispId(233)>]
member this.ItemOperations : EnvDTE.ItemOperations
Public ReadOnly Property ItemOperations As ItemOperations

Значение свойства

ItemOperations

Объект ItemOperations.

Атрибуты

Примеры

Sub ItemOperationsExample()  
  Dim objTextDoc As TextDocument  
  Dim objEP As EditPoint  

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

Комментарии

ItemOperationsОбъект содержит элементы, относящиеся к заполнению диалоговых окон, таких как Добавление элемента, Открытие файла и Создание файла .

Применяется к