ApplicationManager.GetObject(String, Type) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce l'oggetto registrato del tipo specificato dall'applicazione specificata.
public:
System::Web::Hosting::IRegisteredObject ^ GetObject(System::String ^ appId, Type ^ type);
public System.Web.Hosting.IRegisteredObject GetObject(string appId, Type type);
member this.GetObject : string * Type -> System.Web.Hosting.IRegisteredObject
Public Function GetObject (appId As String, type As Type) As IRegisteredObject
Parametri
- appId
- String
Identificatore univoco per l'applicazione proprietaria dell'oggetto .
- type
- Type
Tipo dell'oggetto da restituire.
Valori restituiti
Oggetto registrato del tipo specificato; oppure null se il tipo non è stato registrato tramite una chiamata al CreateObject(String, Type, String, String, Boolean) metodo .