Retrieves the CpiResultCode that can be used to programmatically determine the result. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim simpleCpiResult1 As SimpleCpiResult

Dim returnValue As CpiResultCode
returnValue = simpleCpiResult1.CurrentCode

Syntax

Visual Basic
Public ReadOnly Property CurrentCode() As CpiResultCode
C#
public CpiResultCode CurrentCode {get;}
C++
public:
property CpiResultCode^ CurrentCode {
		CpiResultCode^ get();
}
J#
public CpiResultCode get_CurrentCode();
JScript
public function get CurrentCode() : CpiResultCode;

Property Value

The CpiResultCode that can be used to programmatically determine the result.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also