共用方式為


IVsOutput2.get_Property(String, Object) Method

Definition

Returns a property of an output item.

public:
 int get_Property(System::String ^ szProperty, [Runtime::InteropServices::Out] System::Object ^ % pvar);
public int get_Property (string szProperty, out object pvar);
abstract member get_Property : string * obj -> int
Public Function get_Property (szProperty As String, ByRef pvar As Object) As Integer

Parameters

szProperty
String

[in] Pointer to the property to be returned.

pvar
Object

[out] Pointer to a VARIANT that holds the value of the property identified by szProperty.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to