IComNativeDescriptorHandler.GetPropertyValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the specified property.
Overloads
GetPropertyValue(Object, Int32, Boolean) |
Gets the value of the property that has the specified dispatch identifier. |
GetPropertyValue(Object, String, Boolean) |
Gets the value of the property that has the specified name. |
GetPropertyValue(Object, Int32, Boolean)
Gets the value of the property that has the specified dispatch identifier.
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
Parameters
- component
- Object
The object to which the property belongs.
- dispid
- Int32
The dispatch identifier.
Returns
The value of the property that has the specified dispatch identifier.
Remarks
Note
This API is now obsolete. The non-obsolete alternative is ComObjectType.
Applies to
GetPropertyValue(Object, String, Boolean)
Gets the value of the property that has the specified name.
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
Parameters
- component
- Object
The object to which the property belongs.
- propertyName
- String
The name of the property.
Returns
The value of the property that has the specified name.
Remarks
Note
This API is now obsolete. The non-obsolete alternative is ComObjectType.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: