PolicyList.Set 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.
Overloads
Set(Type, IBuilderPolicy, Type, String) | |
Set<TPolicyInterface>(TPolicyInterface, Type, String) |
Set(Type, IBuilderPolicy, Type, String)
public:
void Set(Type ^ policyInterface, Microsoft::Practices::ObjectBuilder::IBuilderPolicy ^ policy, Type ^ typePolicyAppliesTo, System::String ^ idPolicyAppliesTo);
public void Set (Type policyInterface, Microsoft.Practices.ObjectBuilder.IBuilderPolicy policy, Type typePolicyAppliesTo, string idPolicyAppliesTo);
member this.Set : Type * Microsoft.Practices.ObjectBuilder.IBuilderPolicy * Type * string -> unit
Public Sub Set (policyInterface As Type, policy As IBuilderPolicy, typePolicyAppliesTo As Type, idPolicyAppliesTo As String)
Parameters
- policyInterface
- Type
- policy
- IBuilderPolicy
- typePolicyAppliesTo
- Type
- idPolicyAppliesTo
- String
Applies to
Set<TPolicyInterface>(TPolicyInterface, Type, String)
public:
generic <typename TPolicyInterface>
where TPolicyInterface : Microsoft::Practices::ObjectBuilder::IBuilderPolicy void Set(TPolicyInterface policy, Type ^ typePolicyAppliesTo, System::String ^ idPolicyAppliesTo);
public void Set<TPolicyInterface> (TPolicyInterface policy, Type typePolicyAppliesTo, string idPolicyAppliesTo) where TPolicyInterface : Microsoft.Practices.ObjectBuilder.IBuilderPolicy;
member this.Set : 'PolicyInterface * Type * string -> unit (requires 'PolicyInterface :> Microsoft.Practices.ObjectBuilder.IBuilderPolicy)
Public Sub Set(Of TPolicyInterface As IBuilderPolicy) (policy As TPolicyInterface, typePolicyAppliesTo As Type, idPolicyAppliesTo As String)
Type Parameters
- TPolicyInterface
Parameters
- policy
- TPolicyInterface
- typePolicyAppliesTo
- Type
- idPolicyAppliesTo
- String