Metodo ICodeInjectionService.CreateMethod

Crea un metodo con la firma specificata.

Spazio dei nomi:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
Function CreateMethod ( _
    method As CodeMemberMethod _
) As Boolean
bool CreateMethod(
    CodeMemberMethod method
)
bool CreateMethod(
    CodeMemberMethod^ method
)
abstract CreateMethod : 
        method:CodeMemberMethod -> bool 
function CreateMethod(
    method : CodeMemberMethod
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true se il metodo viene creato; in caso contrario, false.

Note

Il metodo CreateMethod restituisce false se il nome del metodo non è univoco.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ICodeInjectionService Interfaccia

Spazio dei nomi Microsoft.Windows.Design.Services