NestedContainer.GetService(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the service object of the specified type, if it is available.
protected:
override System::Object ^ GetService(Type ^ service);
protected override object GetService (Type service);
protected override object? GetService (Type service);
override this.GetService : Type -> obj
Protected Overrides Function GetService (service As Type) As Object
Parameters
Returns
An Object that implements the requested service, or null
if the service cannot be resolved.
Remarks
This method overrides the Container.GetService method. This implementation only resolves requests for the INestedContainer and IContainer services.
Applies to
See also
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.