共用方式為


Package.ProcessConfiguration(String, Object) Method

Definition

Specifies the configuration information for a package and its objects.

public:
 void ProcessConfiguration(System::String ^ sPath, System::Object ^ value);
public void ProcessConfiguration (string sPath, object value);
member this.ProcessConfiguration : string * obj -> unit
Public Sub ProcessConfiguration (sPath As String, value As Object)

Parameters

sPath
String

The location of the configuration file.

value
Object

A http://go.microsoft.com/fwlink/?LinkId=25731 typecode value that represents the data type of the configuration file.

Remarks

You can call the GetTypeCode method on classes that implement the IConvertible interface to obtain the type code for an instance of that class. Otherwise, call an object's GetType method to obtain its Type object, and then call the Type object's GetTypeCode method to obtain the object's type code. For more information about the valid TypeCodes, see TypeCode Enumeration.

Applies to