Aracılığıyla paylaş


DTE2.ItemOperations Özellik

Alır ItemOperations nesne.

Ad alanı:  EnvDTE80
Derleme:  EnvDTE80 (EnvDTE80.dll içinde)

Sözdizimi

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

Özellik Değeri

Tür: EnvDTE.ItemOperations
Bir ItemOperations nesne.

Yüklenen

_DTE.ItemOperations

Açıklamalar

ItemOperations Nesnesi içerir, iletişim kutuları gibi doldurma için özel üye Add Item, Open File, ve Yeni dosya iletişim kutuları.

Örnekler

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 Güvenliği

Ayrıca bkz.

Başvuru

DTE2 Arabirim

ItemOperations Fazla Yük

EnvDTE80 Ad Alanı