IOpcRelationshipSelector::GetSelectorType method (msopc.h)
Gets a value that describes how relationships are selected to be referenced for signing.
Syntax
HRESULT GetSelectorType(
[out, retval] OPC_RELATIONSHIP_SELECTOR *selector
);
Parameters
[out, retval] selector
A value that describes which IOpcRelationship interface property will be compared to the string returned by the GetSelectionCriterion method.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The selector parameter is NULL. |
Remarks
The following table shows how OPC_RELATIONSHIP_SELECTOR values map to the relationship type and relationship identifier properties.
OPC_RELATIONSHIP_SELECTOR Value | Relationship Property | Description |
---|---|---|
OPC_RELATIONSHIP_SELECT_BY_TYPE | Relationship type | Selects relationships that have a relationship type that matches selectionCriterion string. |
OPC_RELATIONSHIP_SELECT_BY_ID | Relationship identifier | Selects relationships that have a relationship identifier that matches selectionCriterion string. |
Thread Safety
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | msopc.h |
See also
Getting Started with the Packaging API
IOpcRelationshipSelectorEnumerator
Overviews
Packaging API Programming Guide
Reference