共用方式為


ProvideServiceAttributeBase.Service Property

Gets the type of the service.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public ReadOnly Property Service As Type
public Type Service { get; }

Property Value

Type: System.Type
The service type.

.NET Framework Security

See Also

Reference

ProvideServiceAttributeBase Class

Microsoft.VisualStudio.Shell Namespace