ProvideServiceAttribute.ServiceName Property
Gets or sets the name 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 Property ServiceName As String
Get
Set
'用途
Dim instance As ProvideServiceAttribute
Dim value As String
value = instance.ServiceName
instance.ServiceName = value
public string ServiceName { get; set; }
public:
property String^ ServiceName {
String^ get ();
void set (String^ value);
}
member ServiceName : string with get, set
function get ServiceName () : String
function set ServiceName (value : String)
Property Value
Type: System.String
The name of the service.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.