Share via


Proprietà DTE2.ItemOperations

ottiene ItemOperations oggetto.

Spazio dei nomi:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Sintassi

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

Valore proprietà

Tipo: EnvDTE.ItemOperations
ItemOperations oggetto.

Note

ItemOperations l'oggetto include i membri specifici di popolare le finestre di dialogo come aggiungere l'elemento, file apertoe nuovo file finestre di dialogo.

Esempi

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DTE2 Interfaccia

Overload ItemOperations

Spazio dei nomi EnvDTE80