共用方式為


IVsDeployDependency2.get_Property(String, Object) Method

Definition

Gets the value of a dependency property.

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] String containing the name of the property.

pvar
Object

[out] Pointer to a variant containing the property value.

Returns

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

Applies to