<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
GetAllRefVars Method (IEdmBatchRefVars)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmBatchRefVars Interface : GetAllRefVars Method (IEdmBatchRefVars)

Visual Basic
C#
C++/CLI

ppoVars
  Array of EdmRefVar structures; one structure for each reference variable

lParentFileID
  ID of parent file for which to get reference variables

lParentFileVersion
  Version number of parent file for which to get reference variables; 0 gets the latest version if the parent file is checked in and the checked-out version if it is checked out

lChildFileID
  ID of the referenced child file; 0 gets variables for all child references

bsParentConfig
  Configuration of parent file for which to get reference variables; "" gets all configurations

bsChildConfig
  Configuration of parent file for which to get reference variables; "" is ignored

Gets all of the values for the specified reference variables.

# Syntax

Visual Basic |
--- | ---

    Sub GetAllRefVars( _
       ByRef ppoVars() As EdmRefVar, _
       ByVal lParentFileID As System.Integer, _
       Optional ByVal lParentFileVersion As System.Integer, _
       Optional ByVal lChildFileID As System.Integer, _
       Optional ByVal bsParentConfig As System.String, _
       Optional ByVal bsChildConfig As System.String _
    )

C# |
--- | ---

    void GetAllRefVars(
       out EdmRefVar[] ppoVars,
       System.int lParentFileID,
       System.int lParentFileVersion,
       System.int lChildFileID,
       System.string bsParentConfig,
       System.string bsChildConfig
    )

C++/CLI |
--- | ---

    void GetAllRefVars(
    &   [Out] array<EdmRefVar>^ ppoVars,
    &   System.int lParentFileID,
    &   System.int lParentFileVersion,
    &   System.int lChildFileID,
    &   System.String^ bsParentConfig,
    &   System.String^ bsChildConfig
    )

#### Parameters

ppoVars
  Array of EdmRefVar structures; one structure for each reference variable
lParentFileID
  ID of parent file for which to get reference variables
lParentFileVersion
  Version number of parent file for which to get reference variables; 0 gets the latest version if the parent file is checked in and the checked-out version if it is checked out
lChildFileID
  ID of the referenced child file; 0 gets variables for all child references
bsParentConfig
  Configuration of parent file for which to get reference variables; "" gets all configurations
bsChildConfig
  Configuration of parent file for which to get reference variables; "" is ignored

# Example

See the IEdmBatchRefVars examples.

# Remarks

Return codes:

- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.

# See Also

####

IEdmBatchRefVars Interface
IEdmBatchRefVars Members

# Availability

SOLIDWORKS PDM Professional 2010