Właściwość _DTE.ItemOperations —

Pobiera ItemOperations obiektu.

Przestrzeń nazw:  EnvDTE
Zestaw:  EnvDTE (w EnvDTE.dll)

Składnia

'Deklaracja
ReadOnly Property ItemOperations As ItemOperations
ItemOperations ItemOperations { get; }
property ItemOperations^ ItemOperations {
    ItemOperations^ get ();
}
abstract ItemOperations : ItemOperations with get
function get ItemOperations () : ItemOperations

Wartość właściwości

Typ: EnvDTE.ItemOperations
Obiekt ItemOperations.

Uwagi

ItemOperations Obiekt zawiera elementy, które są specyficzne dla wypełniania okien dialogowych, takich jak Dodaj element, Otwórz plik, i Nowy plik okien dialogowych.

Przykłady

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

_DTE Interfejs

Przestrzeń nazw EnvDTE