IComNativeDescriptorHandler.GetPropertyValue Metodo

Definizione

Ottiene il valore della proprietà specificata.

Overload

GetPropertyValue(Object, Int32, Boolean)

Ottiene il valore della proprietà con l'ID dispatch specificato.

GetPropertyValue(Object, String, Boolean)

Ottiene il valore della proprietà con il nome specificato.

GetPropertyValue(Object, Int32, Boolean)

Ottiene il valore della proprietà con l'ID dispatch specificato.

public:
 System::Object ^ GetPropertyValue(System::Object ^ component, int dispid, bool % success);
public object GetPropertyValue (object component, int dispid, ref bool success);
abstract member GetPropertyValue : obj * int * bool -> obj
Public Function GetPropertyValue (component As Object, dispid As Integer, ByRef success As Boolean) As Object

Parametri

component
Object

Oggetto a cui appartiene la proprietà.

dispid
Int32

ID dispatch.

success
Boolean

Oggetto Boolean, passato per riferimento, che rappresenta un valore che indica se la proprietà è stata recuperata.

Restituisce

Valore della proprietà con l'ID dispatch specificato.

Commenti

Nota

Questa API è ora obsoleta. L'alternativa non obsoleta è ComObjectType.

Si applica a

GetPropertyValue(Object, String, Boolean)

Ottiene il valore della proprietà con il nome specificato.

public:
 System::Object ^ GetPropertyValue(System::Object ^ component, System::String ^ propertyName, bool % success);
public object GetPropertyValue (object component, string propertyName, ref bool success);
abstract member GetPropertyValue : obj * string * bool -> obj
Public Function GetPropertyValue (component As Object, propertyName As String, ByRef success As Boolean) As Object

Parametri

component
Object

Oggetto a cui appartiene la proprietà.

propertyName
String

Nome della proprietà.

success
Boolean

Oggetto Boolean, passato per riferimento, che rappresenta un valore che indica se la proprietà è stata recuperata.

Restituisce

Valore della proprietà con il nome specificato.

Commenti

Nota

Questa API è ora obsoleta. L'alternativa non obsoleta è ComObjectType.

Si applica a