System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata.StoreOperationSetDeploymentMetadata C# (CSharp) Méthode

StoreOperationSetDeploymentMetadata() public méthode

public StoreOperationSetDeploymentMetadata ( IDefinitionAppId Deployment, StoreApplicationReference Reference, System.Deployment.Internal.Isolation.StoreOperationMetadataProperty SetProperties, System.Deployment.Internal.Isolation.StoreOperationMetadataProperty TestProperties ) : System
Deployment IDefinitionAppId
Reference StoreApplicationReference
SetProperties System.Deployment.Internal.Isolation.StoreOperationMetadataProperty
TestProperties System.Deployment.Internal.Isolation.StoreOperationMetadataProperty
Résultat System
        public StoreOperationSetDeploymentMetadata(IDefinitionAppId Deployment, StoreApplicationReference Reference, StoreOperationMetadataProperty[] SetProperties, StoreOperationMetadataProperty[] TestProperties)
        {
            this.Size = (uint) Marshal.SizeOf(typeof(StoreOperationSetDeploymentMetadata));
            this.Flags = OpFlags.Nothing;
            this.Deployment = Deployment;
            if (SetProperties != null)
            {
                this.PropertiesToSet = MarshalProperties(SetProperties);
                this.cPropertiesToSet = new IntPtr(SetProperties.Length);
            }
            else
            {
                this.PropertiesToSet = IntPtr.Zero;
                this.cPropertiesToSet = IntPtr.Zero;
            }
            if (TestProperties != null)
            {
                this.PropertiesToTest = MarshalProperties(TestProperties);
                this.cPropertiesToTest = new IntPtr(TestProperties.Length);
            }
            else
            {
                this.PropertiesToTest = IntPtr.Zero;
                this.cPropertiesToTest = IntPtr.Zero;
            }
            this.InstallerReference = Reference.ToIntPtr();
        }

Same methods

StoreOperationSetDeploymentMetadata::StoreOperationSetDeploymentMetadata ( IDefinitionAppId Deployment, StoreApplicationReference Reference, System.Deployment.Internal.Isolation.StoreOperationMetadataProperty SetProperties ) : System