Condividi tramite


IExtendPropertySheet2.CreatePropertyPages Metodo

Definizione

Aggiunge pagine a una finestra delle proprietà.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 int CreatePropertyPages(Microsoft::Aspnet::Snapin::IPropertySheetCallback ^ lpProvider, IntPtr handle, Microsoft::Aspnet::Snapin::IDataObject ^ lpIDataObject);
public int CreatePropertyPages(Microsoft.Aspnet.Snapin.IPropertySheetCallback lpProvider, IntPtr handle, Microsoft.Aspnet.Snapin.IDataObject lpIDataObject);
abstract member CreatePropertyPages : Microsoft.Aspnet.Snapin.IPropertySheetCallback * nativeint * Microsoft.Aspnet.Snapin.IDataObject -> int
Public Function CreatePropertyPages (lpProvider As IPropertySheetCallback, handle As IntPtr, lpIDataObject As IDataObject) As Integer

Parametri

handle
IntPtr

nativeint

Handle da utilizzare per inviare il messaggio di notifica all'interfaccia IComponent o IComponentData appropriata.

lpIDataObject
IDataObject

Puntatore all'interfaccia IDataObject nell'oggetto contenente le informazioni di contesto sull'elemento dell'ambito o del risultato.

Restituisce

Valore restituito Descrizione
S_OK Il CreatePropertyPages(IPropertySheetCallback, IntPtr, IDataObject) metodo ha aggiunto correttamente le pagine del foglio delle proprietà.
S_FALSE Il CreatePropertyPages(IPropertySheetCallback, IntPtr, IDataObject) metodo non ha aggiunto pagine del foglio delle proprietà.
E_UNEXPECTED Si è verificato un errore imprevisto.
E_INVALIDARG Uno o più parametri non sono validi.

Commenti

Per altre informazioni sulla programmazione con l'interfaccia IExtendPropertySheet2 e la Microsoft Management Console (MMC), vedere la Guida del programmatore MMC.

Si applica a