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!

NumberFormatInfo.GetServiceObject

Gets the specified service object.

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

Parameters

service
A Type object representing the type of the service object to get.

Return Value

If service is the Type object for the NumberFormatInfo class, then this instance of NumberFormatInfo is returned. Otherwise, null is returned.

Remarks

This method provides the implementation for IServiceObjectProvider.GetServiceObject.

This method is invoked by the Format(String, IServiceObjectProvider) method supported by the base data types when this instance is passed as the IServiceObjectProvider.

See Also

NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace