NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodePersister.GetServiceObject

Searches for the requested service.

[Visual Basic]
Overridable Protected Function GetServiceObject( _
   ByVal serviceType As Type _
) As Object
[C#]
protected virtual object GetServiceObject(
   Type serviceType
);
[C++]
protected: virtual Object* GetServiceObject(
   Type* serviceType
);
[JScript]
protected function GetServiceObject(
   serviceType : Type
) : Object;

Parameters

serviceType
The service being requested.

Return Value

An instance of the service, or null if the service could not be found.

See Also

CodePersister Class | CodePersister Members | System.ComponentModel.Design Namespace