共用方式為


VSConstants.S_OK Field

Generic HRESULT for success.

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

Syntax

'宣告
Public Const S_OK As Integer
'用途
Dim value As Integer

value = VSConstants.S_OK
public const int S_OK
public:
literal int S_OK
static val mutable S_OK: int
public const var S_OK : int

.NET Framework Security

See Also

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

Other Resources

HRESULT Information in Managed Code

COM Constants and Macros in Managed Code