共用方式為


ProvideServiceAttribute.Service Property

Gets the type of the service.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
Public ReadOnly Property Service As Type
    Get
'用途
Dim instance As ProvideServiceAttribute
Dim value As Type

value = instance.Service
public Type Service { get; }
public:
property Type^ Service {
    Type^ get ();
}
member Service : Type
function get Service () : Type

Property Value

Type: System.Type
The type of the service.

.NET Framework Security

See Also

Reference

ProvideServiceAttribute Class

ProvideServiceAttribute Members

Microsoft.VisualStudio.Shell Namespace