共用方式為


ProvideServiceAttributeBase.ServiceType Property

Gets the service's GUID declared in this attribute.

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

Syntax

'宣告
Public ReadOnly Property ServiceType As Guid
public Guid ServiceType { get; }

Property Value

Type: System.Guid
The GUID of the service declared in this attribute.

.NET Framework Security

See Also

Reference

ProvideServiceAttributeBase Class

Microsoft.VisualStudio.Shell Namespace